Basic Apple development knowledge and basic development knowledge
App ID)
An App ID is a unique identifier that identifies different applications. Each app requires an App ID or app ID.
Currently, there are two types of App IDs: one is the exact App ID (explicit App ID) and the other is the wildcard App ID (wildcard App ID ).
The App ID that uses the wildcard can be used to build and Install multiple programs. Although the wildcard App ID is very convenient, a precise App ID is also required,
Especially when the App uses iCloud or other iOS functions, such as Game Center, Push Notifications, or IAP.
If you are not sure what kind of App ID is suitable for your project, I suggest you read Apple's document on this topic: Technical Note QA1713.
Distribution Certificate (publish a Certificate)
Each iOS app has a security certificate used to verify the developer's identity and signature. To submit an App to the app Store, you need to create an iOS provisioning profile.
First, you need to create a distribution certificate (publish certificate). The process is similar to creating a development certificate (develop certificate ).
If you have already tested your App on a physical device, you are familiar with creating the development certificate.
If you are not familiar with this, I suggest you read Apple's detailed instructions on signing certificates and provisioning profiles.
Provisioning Profile (configuration file)
Once you have created the App ID and distribution certificate, you can create an iOS provisioning profile to easily sell your App in the App Store.
However, you cannot use the same provisioning profile as ad hoc distribution.
You need to create a separate provisioning profile for App Store distribution. If you use the wildcard App ID, multiple apps can use the same provisioning profile.
Build Settings)
The App ID, distribution certificate, and provisioning profile have been configured. It is time to configure the build settings of the target in Xcode.
Select a target in the targets List of Xcode Project Navigator, open the Build Settings option at the top, and update the Code Signing to match the previously created distribution provisioning profile.
Recently Added provisioning profiles are not immediately displayed in the Code Signing of build settings. Restart Xcode to solve this problem.
Deployment Target)
Deployment target. In Xcode, each target has a deployment target, which indicates the minimum version that the app can run.
However, once the application takes effect in the App Store, you must modify the deployment target.
If you increase the deployment target when updating the app, but the user who has purchased the app does not meet the new deployment target, the app cannot run on the user's mobile device.
If a user downloads an updated app through iTunes (not a device), replaces the original version on the device, but finds that the new version cannot run on the device, this is indeed a problem.