1、正式版Xcode10运行libstdc++报错处理
需要将文件复制到下述四个路径下,才能保证模拟器和真机均好用
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/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/
2、重复文件
修改Bulid System
**File - Workspace Setting - Bulid System - Legacy Bulid System **
3、清理cocoapods缓存
sudo rm -fr ~/Library/Caches/CocoaPods/
网友评论