dyld: Library not loaded: /usr/lib/libstdc++.6.dylib

Posted coolcold

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dyld: Library not loaded: /usr/lib/libstdc++.6.dylib相关的知识,希望对你有一定的参考价值。

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-

以上是关于dyld: Library not loaded: /usr/lib/libstdc++.6.dylib的主要内容,如果未能解决你的问题,请参考以下文章

iOS dyld: Library not loaded crash问题

dyld: Library not loaded解决方案

dyld: Library not loaded: @rpath/libswiftCore.dylib

iOS 报错信息: dyld: Library not loaded: @rpath/XCTest.framework/XCTest Referenced from:

iOS开发之运行报错 dyld: Library not loaded: *** Reason: image not found

dyld: Library not loaded: /usr/lib/libstdc++.6.dylib