Why does my application only create a piece of arm64?

My iOS app has the following build settings:

enter image description here

And yet, when I try to send the application to the repository, I get this error:

enter image description here

If I add arm64 to UIRequiredDeviceCapabilities, as the error shows, after sending, I get the following message:

enter image description here

Why does the first archive only contain an arm64 slice?

My project contains several other projects (RestKit and CocoaTouchBarcodes), but the settings for these projects look the same as mine. My project is also linked to the Google Analytics library. I have confirmed that this is the latest version.

What could be causing my problem?

+5
source share
4 answers

It turns out I had a version of the AppStore Valid Architecture for the project, and not a target configured to "armv7, arm64". The problem is that the comma is there. I had to add it when entering architectures manually at some point. After extracting the comma, the armv7 assembly is created, and the app store view successfully completes.

+1
source

I had the same problem for the tvOS submit application, which helped me add this to all layers of cocoapods and frameworks:

<key>UIRequiredDeviceCapabilities</key> <array> <string>arm64</string> </array> 
+3
source

Do you have a connected device?

-If you have a device connected, this device architecture is ACTIVE ARCHITECTURE, so you need to disconnect the device.

Also try

-Configure "Only Active Active Architecture" for NO for goals and project.

+2
source

After some digging search, I realized:

  • "... the presence of a given key indicates the need to use the corresponding function"
  • ".. to omit the key indicates that the function is not required, but the application can work if this function is present.

So, if you put armv7 in the same way as only armv7 devices can run it . You may have supported all devices in a previous version of your application. So just delete the armv7 key and your application will be able to support all types of devices (armv7 and arm64).

  • Check out the supported architectures.
0
source

All Articles