I just upgraded from Xcode 6.4 to Xcode 7GM and am now getting the following warning when running my old project
embedded dylibs/frameworks are only supported on iOS 8.0
and later (@rpath/xxxxxx.framework/xxxxxx) for architecture armv7
This problem only happens in Xcode 7.But when I run the project in Xcode 6.4,it has never happened.
I experience the exact same issue on Xcode 7.1 beta3, and what I do is to search keyword 'IPHONEOS_DEPLOYMENT_TARGET' to make sure all targets above 8.0.
Make sure all your TARGETs has same deployment target (installed pods or framework too) .
For example in below example all targets (Bolts,FBSDKCoreKit, FBSDKLoginKit .... SingleSignOnPod) must have same target (say 7.0)..
Your deployment target is lower than 8.0, which is the lowest iOS version that supports embedded frameworks. If you deploy the app on a device running 7.x, it would crash at runtime. This is why the compiler gave this warning.
The reason why this didn't happen on Xcode 6.4 is unknown. I myself dose get the warning when I did the same thing (chose deployment target 7.x but used embedded frameworks).
To solve this, just raise the deployment target to 8.0 or above. If you do need to support 7.x, try to use static libraries instead of embedded frameworks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With