Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios

iphone

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 CPU type

I'm trying to build the application using xcode 4.3, as well as xcode 4.4, and still seeing this. What can cause this and how can I fix it?

like image 733
Nishan29 Avatar asked Oct 01 '12 08:10

Nishan29


3 Answers

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)

enter image description here

like image 136
andy0570 Avatar answered Nov 19 '22 19:11

andy0570


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.

like image 25
adig Avatar answered Nov 19 '22 18:11

adig


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

ios player setting configuration

like image 10
Alex Sikilinda Avatar answered Nov 19 '22 19:11

Alex Sikilinda