English
English
简体中文
Contact Us
Register
Log In
layoutIndex

iOS Siri Configuration

Last Updated on : 2022-09-16 08:18:08download

This topic describes how to configure iOS Siri for your Tuya OEM apps.

  1. Log in to Apple Member Center, and choose Certificates, IDs & Profiles.

  2. Create App Groups.

    Note: If App Groups already exists and the Group id is equal to “group.package name”, you can ignore this step and go directly to the next step to turn on the Siri function for the main App ID.

    To add the Siri function for an app, you need to create an App group first for the existing App (hereinafter referred to as the main app), that is, the App Groups.

    1. Choose Identifiers, and click +, Choose App Gourps, then click on the top right corner Continue.

      iOS Siri Configuration iOS Siri Configuration
    2. Fill in the information.

      • Description: Create a name for this App group.

      • ID: Enter the bundle name of the main App in the format of [group.AppBundleName] (bundle name format: com.xxx.xxx), and clickContinue

        iOS Siri Configuration
    3. Check the information of the App group. If it is incorrect, click Backto return to the last step for modification. Otherwise, click Register to proceed.

      iOS Siri Configuration
    4. So far, the App group has been created.

  3. Enable Siri for the Main App ID.

    1. Click on the App Groups menu on the right and select App IDs.

      iOS Siri Configuration
    2. Click on the app’s main Appid to enter the configuration page.

      iOS Siri Configuration
    3. Check whether the App Groups function is enabled. If not, click to enable this function.

    4. Click on the right Configure to check the created owner.

    5. Scroll down the page to check whether the SiriKit function is enabled. If not, click to enable the function.

    6. Then click on the top right corner Save

      ![image.png](https://images.tuyacn.com/goat/20191218/cff18b362fff45f997a9d1c947e6c9f1.png" style=“border:1px solid black”>

      iOS Siri Configuration
  4. Create Siri App ID

    1. Click on the Identifiers, then click on +, Choose App IDs, then click on the Continue.

      iOS Siri Configuration iOS Siri Configuration
    2. Fill in the information:

      • Name: Enter the name of Siri.

      • Bundle ID: Enter the bundle name of Siri in the format of [MainAppBundleName.SceneIntent].

      • You must click to enable the App Groups function and then click Continue to proceed.

        iOS Siri Configuration
    3. Click on the created AppIDs, click on the right side Configure to check the Siri App ID, and associate the App group.

      iOS Siri Configuration iOS Siri Configuration
  5. Create Siri UI App ID

    1. Click on the Identifiers, then click on +, Choose App IDs, then click on the Continue.

      iOS Siri Configuration iOS Siri Configuration
    2. Fill in the information:

      • Name: Enter the name of the Siri UI.

      • Bundle ID: Enter the bundle name of Siri UI in the format of [MainAppBundleName.SceneIntentUI].

      • You must click to enable the App Groups function and then click Continue to proceed.

        iOS Siri Configuration
    3. Click on the created AppIDs, click on the right side Configure to check the Siri App ID, and associate the App group.

      iOS Siri Configuration iOS Siri Configuration
  6. Re-generate Main App mobileprovision File

    Note: After the Siri function is added to the app, the original configuration items are modified, and therefore the mobileprovision file needs to be re-generated.

    1. Click on the left menu Profiles, click on the main App information and click to enter to modify.

      iOS Siri Configuration
    2. Certificates: Re-select the publishing certificate. Multiple identicals publishes certificates may appear. Calculate the generation time based on the expiration time and make your selection accordingly. If you are unsure about the generation time, you are advised to select the last certificate and click Save.

      iOS Siri Configuration
    3. So far, the mobileprovision file of the App has been configured successfully. Click Download to download the file and send it to Tuya.

      iOS Siri Configuration
  7. Generate Siri mobileprovision File

    1. Click on the left menu Profiles, and then click +.

      iOS Siri Configuration
    2. Choose App Store, and then click Continue

      iOS Siri Configuration
    3. You must select the corresponding App ID in the App ID box and click Continue. The format is MainAppBundleName.SceneIntent.

      iOS Siri Configuration
    4. Select the publish certificate that corresponds to the main app, check step 6 that the same certificate is selected, and click Continue

      iOS Siri Configuration
    5. Provisioning Profile Name: Enter the Siri mobileprovision file name.

      iOS Siri Configuration
    6. So far, the Siri mobileprovision file has been configured. Click Download to download the file and send it to Tuya.

      iOS Siri Configuration
  8. Generate Siri UI mobileprovision File

    1. Click on the left menu Profiles, and then click +.

      iOS Siri Configuration
    2. Choose App Store, and then click Continue

      iOS Siri Configuration
    3. You must select the corresponding App ID in the App ID box and click Continue. The format is [MainAppBundleName.SceneIntentUI].

      iOS Siri Configuration
    4. Select the publish certificate that corresponds to the main app, check step 6 to confirm that the same certificate is selected, and click Continue

      iOS Siri Configuration
    5. Provisioning Profile Name: Enter the Siri mobileprovision file name.

      iOS Siri Configuration
    6. So far, the Siri UI mobileprovision file has been configured. Click Download to download the file and send it to Tuya.

      iOS Siri Configuration