› Linking AppName » appslug
❌ ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1300.0.29.3.0_0' Reader: '118.104.22.168_0')', using libLTO version 'LLVM version 12.0.5, (clang-122.214.171.124)' for architecture arm64
❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ Ld /Users/expo/Library/Developer/Xcode/DerivedData/ThanksApp-cwswfwoyfulvjjcjhwdonwuwrdzc/Build/Intermediates.noindex/ArchiveIntermediates/ThanksApp/InstallationBuildProductsLocation/Applications/thanksapp.app/thanksapp normal
▸ (1 failure)
Interestingly, the eas build with "developmentClient": true succeeds.
I have a similar issue when installed react-native-unimodules in a react native cli project
Could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1126.96.36.199.0_0' Reader: '1188.8.131.52_0')', using libLTO version 'LLVM version 12.0.0, (clang-1184.108.40.206)' for architecture arm64
I am using xcode 12.4 version, not sure I should upgrade it.
There is a new article saying we have to migrate from react-native-unimodules to expo