I noticed an issue with the new XCode 8, that makes it impossible to archive on XCode 7 with bitcode. So for example if I'm trying to develop a library on XCode 8, when using on Xcode 7 and enabling bitcode I'm getting this error:
Invalid bitcode version (Producer: '800.0.38.0_0' Reader: '703.0.29_0')
Is there any workaround for that when developing libraries on Xcode 8 (objective c)?
Xcode 13.2 requires a Mac running macOS 11.3 Big Sur or later.
Including Bitcode is optional for iOS apps, but mandatory for watchOS or tvOS apps. "Meaning you can slice/segment it out for different processors, etc. once it's in the store, reducing the payload do the user accordingly."
Xcode 14. This version of Xcode: Includes SDKs for iOS 16, iPadOS 16, macOS 12.3, tvOS 16, and watchOS 9. Supports on-device debugging in iOS 11 or later, tvOS 11 or later, and watchOS 4 or later.
Xcode 13 includes SDKs for iOS 15, iPadOS 15, tvOS 15, watchOS 8, and macOS Big Sur 11.3. The Xcode 13 release supports on-device debugging for iOS 9 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 13 requires a Mac running macOS 11.3 or later.
In my case, the problem came when i add new pod library which change bitcode compress. So changing bitcode in Build Setting resolve my problem.
Note that for projects using CocoaPods you should set ENABLE_BITCODE = NO
on both the project and the Pods container project targets.
If anyone is still trying to solve this, at the end we created a new binary using Xcode 7 (You can download older versions of Xcode form here). There's no way to make Xcode 8 to create a build using an older version of bitcode.
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