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

后端 未结 4 1041
情话喂你
情话喂你 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:00

    If you are getting this error building Unity 3D application, change scripting backend to IL2CPP, and select "Universal" architecture.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-17 10:17

    I have encountered such a problem today on iOS 11.2.1 with iPhone 7 devices.
    The reason is that the previous project set up a 32-bit architecture that is no longer supported. And I solved the problem as follows:

    Project -> Build Settings -> Architectures value should be set Standard architectures - $(ARCHS_STANDARD)

    0 讨论(0)
  • 2020-12-17 10:20

    From the project build settings -> Architectures, make sure you have both armv6 and armv7 values.

    Also, you can check your Info.plist file, under Required device capabilities. If there's armv7 there, remove it.

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