报错原因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
网友评论