open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/
open /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/
这三个目录添加一下这三个库完美解决
库可以去xcode9.4.1或更早版本去找
也可以去这边下载https://github.com/codesourse/libstdc-
原文地址:https://www.cnblogs.com/coolcold/p/11066105.html
时间: 2024-11-07 00:45:01