Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7.3 missing Private Frameworks

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?

like image 742
aios Avatar asked Mar 05 '26 02:03

aios


1 Answers

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.
like image 122
JAL Avatar answered Mar 06 '26 17:03

JAL



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!