When deploying to iPhone & Apple Watch with Xcode7, I got this error:
ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
Would like to ask how best to resolve this issue ?
Follow-ups: Apple Watch requires bitcode-enabled libraries, based on this New warnings in iOS 9 -> we may have to enable bitcode for all libraries ..
According to Apple's [App Thinning and Bitcode]
Quote: For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
So I can turn off the Bitcode in Build Settings for iPhone app, and enable Bitcode for Watch app only.
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