react-native-fabric icon indicating copy to clipboard operation
react-native-fabric copied to clipboard

Cannot build app on iOS

Open tomaskallup opened this issue 7 years ago • 6 comments

Hi, I added react-native-fabric to my react-native app and now it's failing to build (archive) for iOS. The error I get:

ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '902.0.39.2_0' Reader: '900.0.39.2_0')', using libLTO version 'LLVM version 9.0.0, (clang-900.0.39.2)' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

tomaskallup avatar Aug 23 '18 15:08 tomaskallup

same +1

herarya avatar Nov 06 '18 03:11 herarya

same +1

Jaydipsinhv avatar Nov 15 '18 10:11 Jaydipsinhv

+1

kalyanijamunkar10 avatar Nov 28 '18 06:11 kalyanijamunkar10

same +1

ronypro avatar Jan 21 '19 12:01 ronypro

We solved using Xcode 10.1 and react-native 0.57.8.

With Xcode 10.1 maybe you will need to use the "Legacy Build System", change here: File > Workspace Settings… > Build System

ronypro avatar Jan 22 '19 11:01 ronypro

Check the iOS deployment target version is the same in PROJECT and TARGET

youssame avatar Jul 16 '21 10:07 youssame