Hi there, Im facing the below build error on react-native: 0.71.2 and react-native-keyevent: 0.3.0, it only happens on release build, anyone have idea where goes wrong? Im running the build on M1 Macbook.
ld: warning: dylib (/Users/xxxx/Library/Developer/Xcode/DerivedData/project-dwjssovoriuvqiadfnpgjmnfqhms/Build/Products/Release-iphonesimulator/Yoga/yoga.framework/yoga) was built for newer iOS Simulator version (12.4) than being linked (11.0)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_RCTEventEmitter", referenced from:
_OBJC_CLASS_$_RNKeyEvent in RNKeyEvent.o
"_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
_OBJC_METACLASS_$_RNKeyEvent in RNKeyEvent.o
"_RCTRegisterModule", referenced from:
+[RNKeyEvent load] in RNKeyEvent.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi there, Im facing the below build error on react-native: 0.71.2 and react-native-keyevent: 0.3.0, it only happens on release build, anyone have idea where goes wrong? Im running the build on M1 Macbook.