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

后端 未结 17 2264
我寻月下人不归
我寻月下人不归 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:23

    You need to add armv7s to your valid architectures under your Target's Build Settings.

    Changing Valid Architectures

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

    You included src/Framework/Resources/Info.plist when added Facebook SDK files to your project. Just remove it from your project and everything will work again. Guaranteed! :)

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

    I have solve the problem using the below steps.

    1. Close the Xcode
    2. Delete the application from device
    3. Restart the device
    4. then re-run the application

    it is working fine..

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

    I have found the same issue while running an OLD project on XCode 5.0 and My solution is:

    You need to do following steps for getting out with this:

    1. Set Valid Architectures : armv7,armv7s

    2. Set compiler as LLVM in Project ---> Build Settings ---> Build Options. See attached image below

    3. Set Base and Deployment sdk properly.

    This is my solution. Happy To Help.

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

    Ok, not sure if this is the Problem in Your Project. But what fixed it for me, was to change the Name of the Info.plist File.

    1. I changed the name from Info.plist to my-project-info.plist
    2. also change it under target-build-settings/Packaging/Info.plist
    3. Than delete the App from Devices/Simulators and re-run the App through Xcode

    In my Case, everything worked fine since than. In my Case there was nothing wrong with the specifications made in the plist file or with the valid architectures.

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

    I have solve the problem using the below steps.

    Close the Xcode Delete the application from device Restart the device then re-run the application it working fine..

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