The following error commonly occurs when there is a mismatch between the bundle ID in your capacitor project and your signing credentials:
error: "App" requires a provisioning profile. Select a provisioning profile in the
Signing & Capabilities editor. (in target 'App' from project 'App')
For context, the "App" being referenced here is set using appName key in the capacitor.config.json file. If not specified Appflow will default to expecting the scheme for the iOS project to be "App".
To correct this issue, start by reviewing the signing certificate and provisioning profile created in the Apple Developer Account and confirm this matches the bundle ID in your app. The bundle ID in your app must match in the following locations:
- /ios/App/App.xcodeproj/project.pbxproj (2 occurrences)
Update the bundle ID as needed. If you are still seeing this error after making these changes please reach out to Appflow support for further assistance.