我最近将我的 Xcode 升级到了 7.3 版。当我编译现有项目时,我收到此错误消息:
directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'
根据 this post , Xcode 7.3 中删除了私有(private)框架。 关于潜在解决方案的任何建议?
最佳答案
根据 Xcode 7.3 release notes :
The Apple private frameworks have been removed from the iOS, watchOS, and tvOS SDKs. If your application fails to link, make sure that you are not using any private frameworks. The use of private frameworks is an unsupported configuration and applications that use non-public APIs will be rejected by the App Store - see App Store Guideline 2.5. (22330301)
你有两个选择:
- 消除您对这些私有(private)框架的依赖。
- 从以前版本的 Xcode 复制私有(private)框架并与它们链接。无法保证它们将继续在运行 iOS 9.3 及更高版本的设备上工作。
关于ios - Xcode 7.3 缺少私有(private)框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36175930/