dyld: dyld_sim not compatible mach-o

2020-02-19 06:13发布

问题:

I installed Xcode 9 and trying to run my app on ios simulator 11.0. As soon as it launches the app its crashing giving this error. What does this error mean? If my app is not compatible with ios11.0, how can I check for the compatibily?

EDIT - Uploaded my valid Architectures

回答1:

You need to make these changes in build setting ... it works for me



回答2:

I had the same problem and found out that the architectures and valid architectures settings for my targets (and pods) were set wrong. iOS 11 doesn't support 32bit applications anymore, so I guess that took part in my problem..,

I've deleted my architectures + valid architectures settings (made it default) and now it compiles and runs fine in both simulator and iOS 11 device. hope it helps u as well ;).