firebase-ios-sdk: Unable to archive with Bitcode enabled
- Xcode version: 10.2.1
- Firebase SDK version: 6.3.0
- Firebase Component: Core, Analytics, Database
- Component version: 6.3.0
I’m using the binary frameworks from Carthage. And when I attempt to archive my project, I get the following error:
could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1100.0.20.17.0_0' Reader: '1001.0.46.4_0')', using libLTO version 'LLVM version 10.0.1, (clang-1001.0.46.4)' for architecture armv7
A temporary fix is to revert to version 5.x, or disabling bitcode.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 23 (8 by maintainers)
I only have Xcode 10.2.1 and 11 installed on my system (xcode-select is configured to use Xcode 10.2.1). Archives builds are also failing on Bitrise using an “Xcode 10.2.x, macOS 10.14” stack
Setting
Other Linker flagsto-ObjCseems to be causing the issue!@paulb777 ugh, i forgot about that after the initial setup, I must’ve copied it back in … I put a note in my cartfile to prevent stupid future self from struggling that long with it. Good lookin’ out!