您的位置:首页 > 移动开发 > IOS开发

iOS 私有api的调用

2013-10-25 10:21 323 查看
在项目中用到了IOSurface framework,但怎么在xcode中的模拟器编译运行出错,提示找不到IOSurface,于是在Other Linker Flags 加入

-framework IOSurface

并在真机编译运行通过。

以下摘抄有机调用ios的private api和private framework的一些讨论

I'm a noob to Xcode, I used my provisioning profile and tried to build it, but get this error.

(null): Framework not found IOSurface

-framework IOSurface

That error is because you're trying to run it on the simulator, which doesn't work.

You must run it on a device.

IOSurface is private framework. So no way to get approve by appstore, right?

Nope, no way.

The Display Recorder apps that made their way to the Appstore were hiding their usage of private frameworks, however apple found out somewhen and kicked them
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: