Compilation Error: Provisioning Profile and Certificate Mismatch

Go to the APP, click Activity → All Builds (as shown below), and you may encounter the following two situations:


Profile and Certificate Type Mismatch

Cause:

  • The wrong provisioning profile (.mobileprovision file) was selected, or the profile was not created with the corresponding certificate checked.
  • This results in a mismatch between the profile and certificate, for example:
    • Certificate type: iOS App Development
    • Profile type: App Store

Solution:

  1. First, create a certificate of the corresponding type in Certificate Management.
  2. Regenerate or select a matching provisioning profile.
  3. Ensure that the profile and certificate types match during packaging.

Provisioning Profile App ID Does Not Match Bundle ID

Scenario:

  • When using cloud packaging for iOS, an error occurs indicating the app identifier in the profile does not match the configured bundle ID.
  • Using a production certificate and adjusting the packaging configuration still triggers the same error.

Error message:

1Error: Provisioning profile has app ID 'com.aslibra.tejia', which does not match the bundle ID 'io.dcloud.UNID4070F3'!

Translation:

1The app identifier 'com.aslibra.tejia' in the profile does not match the bundle ID (Apple AppID) 'io.dcloud.UNID4070F3' in the packaging configuration.

File Confusion Interface

Solution

When submitting for cloud packaging, the Bundle ID (AppID) field should be configured as com.aslibra.tejia because your profile file uses this App ID.

Note: If using AppUploader for packaging, the Bundle ID in the interface (marked with a red circle) must match the Profile.

File Confusion Interface