XCode 4.5 (4G182) + iPhone 5 iOS6 - Choose a destination with a supported architecture in order to run on this device

后端 未结 17 2263
我寻月下人不归
我寻月下人不归 2020-12-14 07:06

So I have a brand new app I created last night for iOS6, using XCode 4.5. I can properly develop on my iPhone 4 with iOS6.

Today I got my new iPhone 5 with iOS6 and,

相关标签:
17条回答
  • 2020-12-14 07:14

    remove info.plist refrence. And then re-drag info.plist to proj but don't copy to "target"

    0 讨论(0)
  • 2020-12-14 07:17

    I ran into the same problem. When I check the compiler it is showing incompatible compiler. you need to make it valid one. To set valid compiler follow the steps

    select your

    project----> build settings-->

    on the search bar type compiler and search now you can find build options under build options you will find compiler for c/c++/objective c set it to valid one.enter image description here

    0 讨论(0)
  • 2020-12-14 07:17

    You just goto Build setting Then valid architecture Replace armv7 armv7s instead of armv7 .Then it will work fine .

    0 讨论(0)
  • 2020-12-14 07:22

    I faced this problem because Build settings-> Complier for C/C++/Objective c was set wrong.

    So I changed it to default compiler available, it worked!

    0 讨论(0)
  • 2020-12-14 07:22

    So basically I created a new project, copied all the sources and everything seems to work fine. At least the app runs.

    I am not sure which setting was causing the problem.

    0 讨论(0)
  • 2020-12-14 07:22

    I had an issue with an out of data library that was built for iOS 4.x and I was building a new app for iOS 6 with iPhone 5 support. I received this error and the only way I resolved it was to make armv7 the only architecture and valid architecture listed in my project and target build settings.

    0 讨论(0)
提交回复
热议问题