Apple account and app identity
You do this page once per app. At the end you have a ready Apple account, a Bundle ID, the app in App Store Connect, an API key that lets EAS (Expo Application Services, Expo’s build and submit service) work without waiting for a two-factor code, and iOS settings in app.json and eas.json ready to build. Before you start, the project must already be set up as in Set up the Expo project. All examples are RiceSense’s real values, team Samphan Jantrakul (Team ID 4B8DGJBFTA).
1. Check the account type and Team ID
Section titled “1. Check the account type and Team ID”If there is no account yet, the Apple account holder enrolls at developer.apple.com/programs/enroll with their own Apple Account, chooses to enroll as an Organization, enters the company’s D-U-N-S number, and pays the 99 USD yearly membership fee. Wait for Apple to confirm before doing this step.
The Apple account holder (Account Holder) goes to developer.apple.com/account → picks the team → scrolls down to Membership details and notes the Team ID.
Team ID
The 10-character team code. It tells EAS which team builds and signs the app.
We entered4B8DGJBFTA
WhyGoes in the EXPO_APPLE_TEAM_ID variable when you run eas build. This value is not a secret.
Enrolled as
The account type chosen at enrollment. It sets the seller name users see on the App Store.
WhyFor a company app, enroll as Organization from the start. The account in the image is still Individual. If yours is too, see how to request a change in iOS extras. You can still submit the app while you wait.
Renewal date
The yearly membership renewal date.
We enteredOctober 13, 2027
WhyIf the membership expires, the app is removed from the App Store. Put this date in the team calendar.
2. Accept the latest agreement
Section titled “2. Accept the latest agreement”If the Account page shows a The program license agreement has been updated box, the Apple account holder clicks Review agreement → reads to the end → ticks to accept → clicks Agree. Someone with the Admin role cannot do it for them.
Review agreement
Opens the new Apple Developer Program License Agreement to read and accept.
WhyApple updates the agreement from time to time. Each time, the Apple account holder must accept it personally.
Add card
Links a card to the Apple Account to renew the membership automatically.
WhyThis is the Apple account holder's financial decision. The developer does not enter card details for them.
If the Certificates page shows this message, the agreement has not been accepted yet. Come back to this step.
3. Register the Bundle ID
Section titled “3. Register the Bundle ID”The Bundle ID is the app’s permanent identity at Apple. The developer or the Apple account holder goes to Certificates, Identifiers & Profiles → Identifiers menu → clicks + → picks App IDs → clicks Continue.
Identifier type
Tells Apple what kind of identity you are registering.
WhyA normal app uses App IDs. Add other types only when the app really uses that service.
On the next page pick App → click Continue.
Select a type
Whether this identity is for the full app or for an App Clip.
WhyRiceSense has no App Clip.
Fill in the Register an App ID form → click Continue.
Description
The name of this App ID inside the account. Users never see it. No special characters such as @ & * "
We enteredRiceSense
WhyUse the app name so it is easy to find when the account has several apps.
Bundle ID
The app identity in reverse-domain form. It must match ios.bundleIdentifier in app.json character for character.
We enteredth.co.ricesense.app
WhyThe name cannot be changed after registration. Check the spelling before you click Continue. Register only the pd one. EAS registers the ones ending in .dv and .te itself at build time.
Capabilities
Special features the app asks to use, such as Push Notifications or Sign in with Apple.
WhyRiceSense uses no special capability. At build time EAS shows Synced capabilities: No updates.
On Confirm your App ID, check Description, Bundle ID and Capabilities once more → click Register.
When done, the Bundle ID is in the Identifiers list. The .dv and .te rows in the image are the ones EAS registered when building dv and te.
4. Create the app in App Store Connect
Section titled “4. Create the app in App Store Connect”The Apple account holder or an Admin goes to appstoreconnect.apple.com/apps → clicks Add Apps (or + → New App).
The New App form has 6 fields. Create becomes clickable only when all are filled.
Platforms
Which device family the app is sold on.
WhyThe app is iPhone only. You can add a platform later with Add Platform on the app page.
Name
The name users see on the App Store. 2 to 30 characters, and it must not clash with another app on the store.
We enteredRiceSense
WhyIf the name is taken, the form will not create the app. You can change the name until you submit for review. After that, you change it when you release a new version.
Primary Language
The main language of the store listing. Countries without a translated listing see this language.
WhyAll users are in Thailand. You can change this later and add English as a second language.
Bundle ID
The app identity. The options come from the Bundle IDs registered in step 3.
We enteredRiceSense - th.co.ricesense.app
WhyCannot be changed after the first build is uploaded. Do not pick one ending in .dv or .te.
SKU
An internal code for our own reports. Users never see it.
We enteredricesense-ios
WhyAnything unique in the account works, but it cannot be changed after creation. Use the form appname-ios.
User Access
Who in the team sees this app in App Store Connect.
WhyA small team where everyone needs access. You can change it later in Users and Access.
Click Create and the app appears on the Apps page (refresh if it still shows No Apps). A new app has the status 1.0 Prepare for Submission. This image was taken after submitting for review, so the status differs.
Open the app. The number in the URL (apps/<number>/…) is the app’s Apple ID (also shown under App Information, field Apple ID). For RiceSense it is 6831310880. Note it for ascAppId in eas.json.
5. Create an App Store Connect API key
Section titled “5. Create an App Store Connect API key”The API key lets EAS work with Apple without logging in with a password and without waiting for a two-factor code from the Apple account holder’s phone. Create it once and it works for every app in the team.
The Apple account holder goes to Users and Access → Integrations tab → App Store Connect API menu → clicks Request Access and accepts the API terms.
Request Access
Requests App Store Connect API access for the whole team. Done once per account.
WhyOnly the Apple account holder can click this button.
Once approved, the same page changes to this. On the Team Keys tab → click Generate API Key.
Team Keys / Individual Keys
The type of key to create.
WhyA build tool's key should belong to the team, not be tied to one employee.
Generate API Key
Opens the form to create a new key.
We enteredClick this button
WhyThe page says keys do not expire and you can have up to 50 active keys.
Set a name and pick the access → click Generate.
Name
The key's name, so you know what it is used for.
We enteredEAS Build RiceSense
WhyName it after the tool that uses it, so you know what breaks if you have to Revoke it. The name cannot be changed after creation.
Access
The key's role, which sets what the key can do.
WhyEAS has to create the Distribution Certificate and the provisioning profile (the file that ties a certificate to a Bundle ID) on the first build, so we use Admin. A key's access cannot be changed after creation. If you pick the wrong one, Revoke it and create a new one.
Right after clicking Generate, the Apple account holder does the following.
- Click Download to get
AuthKey_<KEY ID>.p8. Send it to the Expo project owner, who moves it tocredentials/in the app project and runschmod 600on the file. - Note the Key ID and Issuer ID from the key list below.
Issuer ID
The team's code, the same for every key.
We entered0d676072-ea6d-4a71-b1ba-09310428d89a
WhyGoes in eas.json as ascApiKeyIssuerId and in the EXPO_ASC_ISSUER_ID variable.
KEY ID
This key's code, also part of the .p8 file name.
We entered6D66TD78SA
WhyGoes in eas.json as ascApiKeyId and in the EXPO_ASC_KEY_ID variable.
ACCESS
The key's access as chosen at creation.
We enteredAdmin
6. Set up iOS in app.json
Section titled “6. Set up iOS in app.json”The developer edits app.json before the first build, because these values are baked into the app file at build time. Values shared with Android (version, name, icon, bundle id) are in Set up the Expo project.
{ "expo": { "ios": { "supportsTablet": false, "bundleIdentifier": "th.co.ricesense.app", "config": { "usesNonExemptEncryption": false } }, "plugins": [ [ "expo-image-picker", { "photosPermission": "อนุญาตให้ RiceSense เลือกรูปหลักฐานกิจกรรมและรูปแนบในแชท / Allow RiceSense to select photos for activity evidence and chat attachments.", "cameraPermission": "อนุญาตให้ RiceSense ถ่ายรูปหลักฐานกิจกรรมและรูปแนบในแชท / Allow RiceSense to take photos for activity evidence and chat attachments.", "microphonePermission": false } ] ] }}ios.config.usesNonExemptEncryption
Declares export compliance (whether the app uses encryption that needs export documents). This becomes ITSAppUsesNonExemptEncryption in Info.plist.
WhyRiceSense only uses the system's standard HTTPS encryption. If your app does its own encryption or adds an encryption library, check Apple's documentation before answering false.
Permission messages (camera, photo library, etc.)
The text the iPhone shows when the app asks for a permission. Written to Info.plist as NSCameraUsageDescription, NSPhotoLibraryUsageDescription.
WhyThe text must state clearly what the permission is used for. Vague text is rejected under guideline 5.1.1. Set unused permissions, such as the microphone, to false.
ios.supportsTablet
Whether the app supports iPad.
WhyRiceSense is designed for phones.
7. Add submit.pd.ios to eas.json
Section titled “7. Add submit.pd.ios to eas.json”The developer adds a submit block after the build block set up in Set up the Expo project. The eas submit --profile pd --platform ios command reads all its values from here.
{ "submit": { "pd": { "ios": { "ascAppId": "6831310880", "ascApiKeyPath": "./credentials/AuthKey_6D66TD78SA.p8", "ascApiKeyIssuerId": "0d676072-ea6d-4a71-b1ba-09310428d89a", "ascApiKeyId": "6D66TD78SA" } } }}| Field | Comes from |
|---|---|
ascAppId |
The app’s Apple ID (step 4) |
ascApiKeyPath |
The .p8 file in credentials/ (step 5) |
ascApiKeyIssuerId |
Issuer ID (step 5) |
ascApiKeyId |
Key ID (step 5) |
Check before moving on
Section titled “Check before moving on”- Membership details shows the Team ID and the account is Organization (or a change request has been sent).
- Certificates, Identifiers & Profiles opens without Access Unavailable.
- Bundle ID
th.co.ricesense.appis in the Identifiers list and the app is on the App Store Connect Apps page. - The
.p8file is incredentials/with permission 600, andcredentials/is in.gitignore. app.jsonhasusesNonExemptEncryption: false, the permission messages andsupportsTablet.eas.jsonhas all 4 fields ofsubmit.pd.ios.
Next: Build and TestFlight