If you changed the default build settings, verify some of the settings before you distribute an app through the App Store. You do this in the Build Settings pane of the project editor.
The Architectures build setting identifies the architectures for which your app is built. An iOS device uses a set of architectures, which include armv7
and arm64
. You have two options for specifying the value of this setting:
Standard: Produces an app binary with a common architecture, compatible with all supported devices. This option generates the smallest app, but it may not be optimized to run at the best possible speed for all devices.
Other: Produces an app binary for a specified set of architectures.
In the project editor, choose the project or target, click Build Settings, and find the build setting called Architectures.
Select Standard or Other from the build-setting value list.
If you select Other, click the Add button (+) to enter the custom device architecture names you support.
Important: The store rejects a build that supports only armv7s
. If armv7s
is included in the Valid Architectures list, armv7
must also be included.
The Base SDK version number must be greater than or equal to the software version number on your development device; otherwise, Xcode can’t initiate a debugging session with the device. Set the Base SDK build setting for your project and targets to the latest operating system, which is the default value.
In the project editor, choose the project or target, click Build Settings, and find the build setting called Base SDK under Architectures.
Select a value from the build-setting value list.
For iOS apps, set Base SDK to Latest iOS. For Mac apps, set Base SDK to Latest macOS. If you select another value, download and install the latest SDK version that’s greater than or equal to your device software version.
Set the Debug Information Format build setting to DWARF with dSYM File. This is required to symbolicate crash reports (see About the Crashes organizer).
In the project editor, choose the project or target, click Build Settings, and find the build setting called Debug Information Format under Build Options.
Select DWARF with dSYM File from the build-setting value list.