ProjectName does not have an architecture that iPhone 5 can execute

試著忘記壹切 提交于 2019-12-01 09:01:54

问题


I wanna run my Xcode project on simulator.
My project run on 6s+ , 6S , 6+, 6 & 5s but unfortunately it is not running on 5 and 4s in simulator and show error:

ProjectName does not have an architecture that iPhone 5 can execute.

回答1:


you need to update Build Settings > Architectures to supply correct value to run in simulator with correct architecture.In defualt its $(ARCHS_STANDARD) //Armv7, arm64 for deployment target to 8.0




回答2:


I am facing same issue , you just make sure your device support valid Deployment target

I am using iphone 5s and setting deployment target to 11.4 but after setting up with 10.0 its work for me

I hope this will help you

cheers !!



来源:https://stackoverflow.com/questions/38290077/projectname-does-not-have-an-architecture-that-iphone-5-can-execute

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