If I try to start my customization application from Xcode, xcode will exit with the message:
-fobjc-weak is not supported for the current deployment target
If I run react-native run-ios from the shell, then I also get the error message:
** BUILD FAILED **
The following build commands failed: CompileC / Users / michel / Development / Androdev / Firebase / Sample / FlightLogIos / ios / build / Build / Intermediates.noindex / Pods.build / Debug-iphonesimulator / nanopb.build / Objects-normal / x86_64 /nanopb-dummy.o Target \ Support \ Files / nanopb / nanopb-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
However, the application is still working. This is annoying, although I think at some point I will need Objective-C code for my project. Does anyone know how to solve this problem?
ios xcode cocoapods react-native-ios
Michel lesoinne
source share