IOS-Dev

App Registration

Creating App ID

AppID = TeamID + BungleID

AppID = TeamID + BungleID

At Certificates, Identifiers & Profiles, you should add an Identifier that is App ID for App. A team ID will be generated (for example 3VTUU97W95) and you need to fill out Bungle ID as me.kokecacao.deepVocab.

Then select services you need. Creating or changing services of an App ID will invalidate all existing Provisional Profile.

For consistency, identifiers should be names as Deep Vocab

Creating Device

Device should be created via XCode automatically. They represent your iPhone.

Creating Certificate

Certificate (often associated with particular device for development) is unique to identify devices (like ssh key). There are two methods to create certificate: one using XCode, the other use external API.

Note that when creating certificate for specific device (or API), the Distribution and Development certificates are both created.

Some certificate can be automatically created via App Store Connect API Key.

Creating Provisional Profile

You need to create two profiles, one for AppStore the other for Development.

Creating Provisional Profile for Development

Select iOS App Development and enter the App ID you created above. You can select Offline support (7 day validity) (optional)

You need to select Certificate and Device you need to connect Provisional Profile with. Therefore, only developing device with Certificate can sign the app to distribute for Device.

Development profile should be named as Deep Vocab Development. The file you download is in the format of Deep_Vocab_Development.mobileprovision.

Creating Provisional Profile for AppStore

Select App Store and enter the App ID you created above.

You need to select Certificate you need to connect Provisional Profile with. Therefore, only developing device with Certificate can sign the app to distribute for App Store. (Often, you will need to select certificate that is your API instead of a real developing device)

Distribution profile should be named as Deep Vocab Distribution. The file you download is in the format of Deep_Vocab_Distribution.mobileprovision.

App Store Connect API Key

You can create API Key at AppStore Connect -> Keys -> App Store Connect API

This key is used for Codemagic for automatic code signing. The file you download is in the format of AuthKey_8782W5DCJL_API_key.p8.

Besides the file, you also need issuer id (like d27474e2-6d31-43df-83ff-69323e2465b6) for any app to use the key. Codemagic will let you select an App ID when building app.

Note that you don't need certificate or provisional profile when using automatic code-signing.

Sign in with Apple

Creating Service ID

At Certificates, Identifiers & Profiles, you should add an Identifier that is Service IDs. We create using me.kokecacao.deepVocab.apple as identifier and Deep Vocab Sign In With Apple as description.

Then click the name of the identifier once the identifier is created. Enable Sign In with Apple and click Configure.

For Domains and Subdomains:

apple.deepvocab.kokecacao.me,redirect.deepvocab.kokecacao.me

For Return URLs

https://apple.deepvocab.kokecacao.me,https://deepvocab.kokecacao.me

Besides the Service ID, you also need to create a key.

Creating Service Key

At Certificates, Identifiers & Profiles, you should add a Key with Sign in with Apple and Apple Push Notifications service (APNs) (optional). We create using Deep Vocab Service Key as description.

Download the key as a .p8 file. (For example, AuthKey_7KMP4MDF6A.p8)

Table of Content