xcode10 libstdc++报错处理

网上有很多类似的解决方法,但每个人的项目不同,配置不同,因人而异。
搜索了一大堆还是未能解决自己的问题,所以做出以下记录,希望和我一样的小白少走弯路!

桌面Command + Shift + G

前往.png

输入下面三个路径
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/

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

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

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

依次插入libstdc++文件,打开项目,真机模拟器都可以运行!

你可能感兴趣的:(xcode10 libstdc++报错处理)