Xcode 7.3 missing Private Frameworks

妖精的绣舞 提交于 2019-12-22 09:58:21

问题


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'

As per this post, private frameworks have been removed with Xcode 7.3. Any suggestions as to potential solutions?


回答1:


According to the 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)

You have two options:

  1. Remove your dependency on these private frameworks.
  2. Copy the private frameworks from a previous version of Xcode and link with them. There is no guarantee they will continue to work on devices running iOS 9.3 and above.


来源:https://stackoverflow.com/questions/36175930/xcode-7-3-missing-private-frameworks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!