美文网首页
升级Xcode10~11报错或者运行时报错,或者模拟器打开崩溃

升级Xcode10~11报错或者运行时报错,或者模拟器打开崩溃

作者: Onlyoner | 来源:发表于2019-07-16 13:42 被阅读0次

报错原因1

Reason: no suitable image found. Did find: /usr/lib/libauto.dylib: mach-o, b

参考官方文档:https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes

Simulator
Known Issues
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:

$ sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Content

9.3.simruntime中的9.3可以改成任一版本号如9.2\8.3等

报错原因2:

dyld: Library not loaded: /usr/lib/libstdc++.6.dylib
Referenced from: /Users/...
Reason: no suitable image found.  Did find:
/usr/lib/libstdc++.6.dylib: mach-o, but not built for iOS simulatort

参考这篇文章https://www.jianshu.com/p/76346561d393

相关文章

网友评论

      本文标题:升级Xcode10~11报错或者运行时报错,或者模拟器打开崩溃

      本文链接:https://www.haomeiwen.com/subject/fppcxctx.html