关于更新到Xcode 10~运行提示library not found for -libstdc++.6.0.9临时解决方案

原因:Xcode10~取消了6.0.9和6的支持,临时解决办法是下载 libstdc++、libstdc++.6、libstdc++6.0.9,拷贝到对应的路径即可

文件下载地址:

https://pan.baidu.com/s/14eFtJFWk_ctCl5DAgk0n8g  提取码vk8v  

下载完成后,将三个文件拷贝到下载包里面的路径文件里面标注的两个两个路径下即可

XCode10配置方式

真机

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

模拟器

dylib路径

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

tdb路径

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


XCode11配置方式

真机

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

模拟器

dylib路径

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

tdb路径

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

你可能感兴趣的:(关于更新到Xcode 10~运行提示library not found for -libstdc++.6.0.9临时解决方案)