Posts

Showing posts with the label Xcode

Xcode Compile Error: "Library not found for -lstdc++.6.0.9"

copy library from xcode 9.4.1 to xcode10/11 cp patch/xcode10/9.4.1/iPhoneOS.platform/libstdc++.*.tbd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ cp patch/xcode10/9.4.1/iPhoneSimulator.platform/libstdc++.*.tbd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/ cp patch/xcode10/9.4.1/RuntimeRoot/libstdc++.*.dylib /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib

mutex.h:105:10: 'config.h' file not found

cd node_modules/react-native/third-party/glog-0.3.4) Once actively in this folder, run ../../scripts/ios-configure-glog.sh

Xcode compile error: 'boost/config/user.hpp' file not found"

There is always an compiled error when running xcode with react-native recently: Lexical or Preprocessor Issue Group: ...node_modules/react-native/third-party/boost_1_63_0/boost/config.hpp:30:12: 'boost/config/user.hpp' file not found Current solution is to download new boost, extract it and then overwrite it in the react-native/third-party folder. It works but too slowly, you need to copy over 100MB files. I try to just copy config folder, but seems not work. This problem has been occured in several projects. The last solution is clean the cache: rm -rf ~/.rncache rm -rf node_modules/react-native/third-party