# Error building iOS in Ionic AppFlow / Ionic Pro

**URL:** <https://forum.ionicframework.com/t/error-building-ios-in-ionic-appflow-ionic-pro/157975>\
**Category:** Appflow\
**Created:** [March 2, 2019, 12:22am UTC](https://forum.ionicframework.com/t/error-building-ios-in-ionic-appflow-ionic-pro/157975 "2019-03-02T00:22:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardoalexanderh](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@ricardoalexanderh](https://forum.ionicframework.com/u/ricardoalexanderh)\
**Post date:** [March 2, 2019, 12:22am UTC](https://forum.ionicframework.com/t/error-building-ios-in-ionic-appflow-ionic-pro/157975/1 "2019-03-02T00:22:55Z")

</div>

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 \*\*

❌ 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!
