報(bào)錯(cuò) library not found for -libstdc++.6.0.9,解決辦法如下??
一妹孙、真機(jī)
將tbd副本放到下面路徑中:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
二座硕、模擬器
將tdb副本放到下面路徑中:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
Xcode 10將dylib副本放到下面路徑中:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
Xcode 11將dylib副本放到下面路徑中:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
(下載:libstdc++.6.0.9下載地址【密碼:lxci】)