-
处理Xcode10及以上版本编译时出现的\"library not found for \"-lstdc++.6\"错误
资源介绍
根据调试方式不同,真机和模拟器文件放置路径不同,分别复制对应的Lib文件到以下路径即可解决。
建议拷贝地址Shift + command + G前往
真机
/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/