Xcode 7.3缺少私有框架 [英] Xcode 7.3 missing Private Frameworks
问题描述
我最近将Xcode升级到了7.3版.当我编译现有项目时,出现以下错误消息:
I recently upgraded my Xcode to version 7.3. When I compile my exisiting project I get this error message:
directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks'
根据此后,专用框架已被Xcode 7.3删除. 关于潜在解决方案有什么建议吗?
As per this post, private frameworks have been removed with Xcode 7.3. Any suggestions as to potential solutions?
推荐答案
According to the Xcode 7.3 release notes:
Apple专用框架已从iOS,watchOS和tvOS SDK中删除.如果您的应用程序链接失败,请确保您没有使用任何私有框架.私有框架的使用是不受支持的配置,使用非公共API的应用程序将被App Store拒绝-请参阅应用商店指南2.5 . (22330301)
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)
您有两个选择:
- 消除对这些私有框架的依赖.
- 从先前版本的Xcode复制私有框架并与它们链接.无法保证它们将继续在运行iOS 9.3及更高版本的设备上运行.
这篇关于Xcode 7.3缺少私有框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!