dyld: dyld_sim not compatible mach-o

三世轮回 提交于 2019-12-18 11:01:20

问题


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 ;).



来源:https://stackoverflow.com/questions/46323700/dyld-dyld-sim-not-compatible-mach-o

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!