Last Updated on : 2024-06-19 02:37:30download
This topic describes how to configure iOS certificates for your OEM app. These certificates are required for the app to run on Apple Watch.
Log in to the Apple Developer platform and select Certificates, Identifiers & Profiles.
If an app group already exists in your account and the value of Group ID is group.Bundle ID
, you can skip this step and proceed to Step 2: Create app ID.
To allow your app to run on Apple Watch, you must create an app group for the existing main app.
Go to the Identifiers page and click +. Select App Groups, and in the top right corner of the page, click Continue.
Enter the following information and click Continue.
Description: Enter a name for the app group.
ID: Enter the bundle ID of the main app, in the following format: group.Bundle ID
. Format of Bundle ID
: com.xxx.xxx.
Confirm the information about the app group. To rectify any error, click Back and modify the information. After all information is confirmed, click Register.
Now, the app group is created.
Go to the Identifiers page and click +. Select App IDs, and in the top right corner of the page, click Continue.
Enter the following information:
Description: Enter the certificate name for the app to run on Watch.
Bundle ID: Enter the Watch bundle ID, in the format of Bundle ID of main app.watch
.
After you enter the preceding information, you must select App Groups in the Capabilities section and then click Continue.
Bind the app ID with the app group. Perform the following steps:
Click the newly-created app ID, find Capabilities > App Groups, click Edit, select the app group for Watch created in Step 1, and then click Continue.
Go to the Identifiers page and click +. Select App IDs, and in the top right corner of the page, click Continue.
Enter the following information:
Description: Enter the extension certificate name for the app to run on Watch.
Bundle ID: Enter the bundle ID for the extension certificate, in the format of Bundle ID of main app.watch.ext
.
After you enter the preceding information, you must select App Groups in the Capabilities section and then click Continue.
Bind the extension certificate ID with the app group. Perform the following steps:
Click the newly-created extension certificate ID, find Capabilities > App Groups, click Edit, select the app group for Watch created in Step 1, and then click Continue.
Go to the Profiles page and click +.
In the Distribution section, select App Store and click Continue.
From the App ID drop-down list, select the app ID in the format of Bundle ID of main app.watch
, and click Continue.
Select the distribution certificate for the main app and click Continue.
In certain cases, multiple certificates with the same name might appear. You can distinguish these certificates by their expiration time, and select the one that matches the actual expiration time of the distribution certificate.
In the Provisioning Profile Name field, enter the name of the .mobileprovision certificate for Watch.
Now, the .mobileprovision certificate is configured for Watch. Click Download to download the certificate file, and submit a ticket to send this file to Tuya.
Go to the Profiles page and click +.
In the Distribution section, select App Store and click Continue.
From the App ID drop-down list, select the app ID in the format of Bundle ID of main app.watch.ext
, and click Continue.
Select the distribution certificate for the main app and click Continue.
In certain cases, multiple certificates with the same name might appear. You can distinguish these certificates by their expiration time, and select the one that matches the actual expiration time of the distribution certificate.
In the Provisioning Profile Name field, enter the name of the .mobileprovision extension certificate for Watch.
Now, the .mobileprovision extension certificate is configured. Click Download to download the certificate file, and submit a ticket to send this file to Tuya.
Tuya will help you upload the .mobileprovision certificate for Watch generated in Step 4 and the .mobileprovision extension certificate for Watch generated in Step 5 to the Tuya Developer Platform. After they are uploaded, you can rebuild the app to make the configuration take effect.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback