In this tutorial, you will learn how to configure your iOS app so you can start generating iOS builds and sync your in-app purchases with ones setup in your Apple Developer account.
Before you begin, you must have first connected your Apple Developer account in the BuddyBoss App’s settings.
Create Your Bundle IDs
A Bundle ID uniquely identifies an app in Apple’s ecosystem. This means that no two applications can have the same bundle identifier.
To avoid conflicts, Apple encourages developers to use reverse domain name notation, such as com.domain.appname.
For example, if your domain is www.fruit.com and your app is called Oranges, you would use com.fruit.oranges as your release app’s Bundle ID.
For your test app’s Bundle ID, you can just add “.test” on the end. For example, com.fruit.oranges.test.
- Login to your Apple Developer account using the Apple ID you created your Apple Developer account with
- Click on Certificates, Identifiers & Profiles
- Click on the Identifiers tab
- Click on the + symbol next to Identifiers
- Create your Release App Bundle ID
- Enter a Description, such as “Release App”
- Enter your chosen Bundle ID for your Release App
- Enable Push Notifications
- Enable Sign In with Apple
- Click Register
- Create your Test App Bundle ID
- Enter a Description, such as “Test App”
- Enter your chosen Bundle ID for your Test App
- Enable Push Notifications
- Enable Sign In with Apple
- Click Register
Important: Remember to register your Bundle IDs in your Google Firebase account. To find out how, please watch our Google Firebase tutorial.
Configure Your App
- In your WordPress admin, go to BuddyBoss App > Configure > iOS Settings
- Click the Refresh Bundle IDs button to get all Bundle IDs from your Apple Developer account
- Under Release App Bundle ID, select the Bundle ID you created for your Release App from the dropdown
- Under Test App Bundle ID, select the Bundle ID you created for your Test App from the dropdown
- Under Signing Certificates, check the Generate Certificates box
- Under Provisioning Profiles, check the Generate Profiles box
- Click Save Changes
App Information
- Login to your App Store Connect using the Apple ID you created your Apple Developer account with
- Click on My Apps
- Click on the + symbol next to Apps
- Select New App
- Under Platforms, select iOS
- Enter a Name for your app
- This is how it will appear in the Apple App Store
- Enter the Primary Language for your app
- Under Bundle ID, select the Release App Bundle ID you created in the previous steps
- Enter a SKU for your app
- This is a unique ID for your app that is not visible on the App Store
- Select the User Access for your app
- You only need to select Limited Access if you have apps in App Store Connect that you don’t want certain users to access
- Click Create
- On the Apps page, click on the app you just created
- Under the General section, click on App Information
- Under General Information, find and copy the Apple ID for this app
- In your WordPress admin, go to BuddyBoss App > Configure > iOS Settings
- In the App Information section, paste your app’s Apple ID into the Apple App ID field.
App-Specific Shared Secret
To use in-app products on your iOS app, you need to enter the App-Specific Shared Secret for your release app. This is a unique code to receive receipts for this app’s auto-renewable subscriptions.
- Login to your App Store Connect using the Apple ID you created your Apple Developer account with
- Click on My Apps
- Click on your app
- Under the In-App Purchases section, click on Manage
- Click on App-Specific Shared Secret
- Click on Generate App-Specific Shared Secret
- Copy the Shared Secret
- In your WordPress admin, go to BuddyBoss App > Configure > iOS Settings
- In the App Information section, paste your app’s Shared Secret into the App Specific Shared Secret field.
Now that your app is configured, you can start generating iOS builds of your BuddyBoss App.
In addition, you can now set up In-App Purchases in App Store Connect and sync them with In-App Purchases setup in your BuddyBoss App’s settings.