I try to build a "fresh" react-native project in Xcode and run it on the phone but it says library not found for -lDoubleConversion.
When I build it with npx react-native run-ios it runs fine in the simulator.
What am I missing? I found on the net that I am not the only one with this issue but I can't find the solution.
I spent already two days trying to find some solution and I have to say that I slowly stop believing that people are using react to build ios applications :-(
Edit: After several days of investigation, I still can't build it. I have found similar issues on the web and many hints were about the installation of third-party libraries. I tried to run this script:
cd node_modules/react-native/scripts && ./ios-install-third-party.sh && cd ../../../. But with an error:
./ios-install-third-party.sh
Unpacking /Users/mastalir/Library/Caches/com.facebook.ReactNativeBuild/glog-0.3.5.tar.gz...
./ios-install-third-party.sh: line 66: ./ios-configure-glog.sh: No such file or directory
/Users/mastalir/Library/Developer/Xcode/DerivedData/FirstAppPokus-cbuqwrugcrxcpsfzpmswqpkonnnp/Build/Products/Debug-iphonesimulator/DoubleConversion'but it contains just the corrupted App file and no libs