Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

64bit iOS "does not have an architecture that iPhone 6 can execute." error in Xcode?

Discussion in 'iOS and tvOS' started by infinitypbr, Mar 12, 2015.

  1. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Hello!

    I'm not sure why -- this was working yesterday, but all of a sudden I'm getting an error in Xcode when building the project: "APPNAME does not have an architecture that iPhone 6 can execute."

    I'm using IL2CPP and Universal Architecture and Automatic Graphics API.
     
  2. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Happens with Universal, ARMa7 and ARM64, both on an iPad Air 1 and iPhone 6 (same message both devices)
     
  3. rextr09

    rextr09

    Joined:
    Dec 22, 2011
    Posts:
    416
    I think you have updated to Xcode 6.2 recently. I had the same issue. You just need to select your device above, where one of the ios simulators are selected by default.
     
    infinitypbr likes this.
  4. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    That did the trick -- at the top, select your device (first on the list for me), and that'll work. THANKS!!!
     
    Dean432 likes this.
  5. johnnyGr

    johnnyGr

    Joined:
    Mar 18, 2015
    Posts:
    6
    Hi
    I have this same error when trying to run with iphone6 simulator (xcode 6.2 , unity 4.5 and Vuforia 4). But when I switch to latest ipad device it works just fine. Do you know if it is because it can't be tested on simulator ?

    Regards
    Jan
     
  6. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    I have no idea about using the simulator -- never have myself.
     
  7. RC15

    RC15

    Joined:
    Apr 19, 2013
    Posts:
    38
    I have the same issue running IL2CPP and Universal on iPhone6+ simulator.
     
  8. Mishaps

    Mishaps

    Joined:
    Nov 28, 2011
    Posts:
    181
    Open the Trampoline Xcode project and change it from the simulator to your device. Then all builds will default to your device instead of the simulator. When unity creates the Xcode project it seems to use the "trampoline" project like a template. You can do other stuff in there too, like enable iCloud Capabilities or Game Center etc.

    To find it right-click on the unity app and "show package contents" then go to /Contents/PlaybackEngines/iossupport/Trampoline and open the Xcode project in there. Creds to Prime31 for pointing out this location!
     
    infinitypbr likes this.
  9. CMeinhardt

    CMeinhardt

    Joined:
    Sep 30, 2014
    Posts:
    1
    Did you ever figure this out?
     
  10. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149

    I think you have updated to Xcode 6.2 recently. I had the same issue. You just need to select your device above, where one of the ios simulators are selected by default.
    That did the trick -- at the top, select your device (first on the list for me), and that'll work. THANKS!!!

    ?