Error building iOS in Ionic AppFlow / Ionic Pro

Hi,

I’m using ionic pro for building the iOS IPA file (development), but is getting an error like this:

error: No certificate matching ‘iPhone Developer: Some Name (XXXXXXXX)’ found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target ‘AppName’)
[00:14:35]: ▸ ** ARCHIVE FAILED **

:x: error: No certificate matching ‘iPhone Developer: Some Name (XXXXXXXX)’ found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning. (in target ‘AppName’)


It seems that i have to specify the correct CODE_SIGN_IDENTITY and Development Team ID (it should be the XXXXXXX), but how to do this in Ionic AppFlow / Ionic Pro.

I know that we can use build.json and overwrite the build config using --buildConfig=build.json, but we cannot alter the cordova build command in Ionic AppFlow / Ionic Pro.

I’m struggling with this issue for a week.

Thanks!

1 Like