react-native library not found for -lstdc++.6.0.9

Xcode10 Xcode11:library not found for -lstdc++.6.0.9 临时解决

临时解决方案:

1.将libstdc++.6.0.9tbd.zip解压,放到以下目录: 链接: https://pan.baidu.com/s/1a43oakMgSyQNnKJMHKtvIA  密码: l0gb

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/

2.将libstdc++_sim.zip解压,放到以下目录:链接: https://pan.baidu.com/s/1OkCUDuYaKLmdPM4Y9hloNA  密码: cvtt

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/

3.将libstdc++.dylib_sim.zip解压,放到目录 链接: https://pan.baidu.com/s/1xGsi20xZMkJwbpacQV-Iew  密码: bgqa

Xcode10:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

Xcode11/12:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

参考来源: https://www.jianshu.com/p/ef584a960a0d

原文地址:https://www.cnblogs.com/zhengyan/p/14948649.html