# iOS build release error (is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified)

**URL:** <https://forum.ionicframework.com/t/ios-build-release-error-is-automatically-signed-for-development-but-a-conflicting-code-signing-identity-iphone-distribution-has-been-manually-specified/100633>\
**Category:** ionic-v3\
**Created:** [August 2, 2017, 8:18pm UTC](https://forum.ionicframework.com/t/ios-build-release-error-is-automatically-signed-for-development-but-a-conflicting-code-signing-identity-iphone-distribution-has-been-manually-specified/100633 "2017-08-02T20:18:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![JareBear138](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@JareBear138](https://forum.ionicframework.com/u/JareBear138)\
**Post date:** [August 30, 2017, 12:17am UTC](https://forum.ionicframework.com/t/ios-build-release-error-is-automatically-signed-for-development-but-a-conflicting-code-signing-identity-iphone-distribution-has-been-manually-specified/100633/7 "2017-08-30T00:17:58Z")

</div>

For anyone still struggling, I have found a solution. The problem is in the Cordova settings.

Note this:

> iPhone Distribution has been manually specified

This didn’t make any sense to me, since I had set the project to auto sign in xcode. Like you, the check and uncheck didn’t work. But then I read the last file path given and followed it. The file path is APP \> Platforms \> ios \> Cordova \> build-release.xconfig

And in the file, iPhone Distribution is explicitly set for CODE\_SIGN\_IDENTITY.

Change:

```auto
CODE_SIGN_IDENTITY = iPhone Distribution
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Distribution

```

To:

```auto
CODE_SIGN_IDENTITY = iPhone Developer
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer

```

It a simple thing, and the error message does make it clear that iPhone Distribution has been manually specified, but it doesn’t really say where unless you follow the path. I looked and fiddled with xcode for about three hours trying to figure this out. Hopes this helps anyone in the future.

---

_[View the full topic](https://forum.ionicframework.com/t/ios-build-release-error-is-automatically-signed-for-development-but-a-conflicting-code-signing-identity-iphone-distribution-has-been-manually-specified/100633)._
