dyld: dyld_sim not compatible mach-o

梦想的初衷 提交于 2019-11-30 01:24:59

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

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

I did two things and it works ....

  1. Deployment target change to recent one like >= 10.0
  2. Select Standard architectures from Build Settings> Architectures

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