# Need help with iOS cloud build

**URL:** <https://forum.ionicframework.com/t/need-help-with-ios-cloud-build/94647>\
**Category:** ionic-v3\
**Created:** [June 16, 2017, 11:26am UTC](https://forum.ionicframework.com/t/need-help-with-ios-cloud-build/94647 "2017-06-16T11:26:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roccobruyn](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/roccobruyn/32/110672_2.png) [@roccobruyn](https://forum.ionicframework.com/u/roccobruyn)\
**Post date:** [June 16, 2017, 11:26am UTC](https://forum.ionicframework.com/t/need-help-with-ios-cloud-build/94647/1 "2017-06-16T11:26:15Z")

</div>

Hi all,

My iOS cloud build keeps failing, and I can’t seem to figure out why.  
I have both a certificate and a provisioning profile and configured them in a security profile on the ionic dashboard.

Certificate:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/6/c/6c4b840fda281cd39de373ef839174222fa5b0d7.png)

Provisioning Profile:

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/c/9/c93769a54f67599dae3db3db8487e50add2ce4b3.png)

However, when i run:  
`ionic package build ios --profile=develop`  
from the command line, the build keeps failing with the following message:

```auto
Check dependencies
No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "XXXXXXXXXX" with a private key was found.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'

**ARCHIVE FAILED**

The following build commands failed:
	Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/package/workspace/apps-46b7f1e6-19/cordova/platforms/ios/cordova/build-debug.xcconfig,-workspace,King.xcworkspace,-scheme,King,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,King.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/package/workspace/apps-46b7f1e6-19/cordova/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/package/workspace/apps-46b7f1e6-19/cordova/platforms/ios/build/sharedpch

```

Am I doing it wrong, am I missing something?  
Any help is greatly appreciated, i’ve been pulling out my hair for two days now without result.

Kind regards,  
Rocco

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 16, 2017, 11:34am UTC](https://forum.ionicframework.com/t/need-help-with-ios-cloud-build/94647/2 "2017-06-16T11:34:56Z")

</div>

As we can’t look at the certs, you might have more luck here:

[http://ionicframework.com/support#support](http://ionicframework.com/support#support)  
(Scroll down to “Business and Customer Support”)

---

<div class="post-metadata">

**Author:** ![amrography](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/amrography/32/14488_2.png) [@amrography](https://forum.ionicframework.com/u/amrography)\
**Post date:** [June 30, 2017, 12:03pm UTC](https://forum.ionicframework.com/t/need-help-with-ios-cloud-build/94647/3 "2017-06-30T12:03:29Z")

</div>

I had this issue because I have project has pre-installed plugins. These plugins was request additional variables (like facebook4 plugin). If you have any plugins request variables first remove it:

`ionic cordova rm plugin cordova-plugin-facebook`

Then remove your platform and add it again

`ionic cordova platform rm ios`

`ionic cordova platform add ios`

_Because you don’t have any problems with your plugins, your platform will be added in correct way_

Then `ionic cordova build ios`
