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?
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:
- Remove your dependency on these private frameworks.
- 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