Why am I seeing “This application does not support this device's CPU type”?

后端 未结 4 1043
情话喂你
情话喂你 2020-12-17 09:52

When trying to build and install an application on an iPod running iOS 4.2.1, I\'m seeing the error

This application does not support this device\'s C

4条回答
  •  無奈伤痛
    2020-12-17 10:01

    This post led me to my answer. Thanks @adig and @masam

    I have an iOS 8.4 enterprise signed app that would only work on certain device types when I tried to install it from our internal app store, and it was inconsistent. I wasn't getting any helpful error messages, even from the device console, until I tried to deploy it using the XCode Devices to a 5th gen iPod. It said "This application does not support this device type" which led me to here. I was debugging on a 6th gen iPod/iPhone 6.

    I was archiving from a different scheme than I usually release from and I was only building the current architecture which meant that it would only work on a certain type of device depending on what was plugged in when I archived.

    So make sure that "build active architecture only" is NO when you are archiving an app to sign as an Enterprise app.

提交回复
热议问题