# iOS error signing requires a development team

**URL:** <https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602>\
**Category:** Builds\
**Created:** [March 29, 2019, 1:10pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602 "2019-03-29T13:10:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 1:10pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/1 "2019-03-29T13:10:20Z")

</div>

## Description of the issue

Getting error during step xcode-archive: error: Signing for “dashboardwrapper” requires a development team. Select a development team in the project editor. (in target ‘dashboardwrapper’)

I can see that someone had same issue here:[How to "Select a development team in the project editor" in ionic-archive steps? - #6 by alastairmcfarlane](http://discuss.bitrise.io/t/how-to-select-a-development-team-in-the-project-editor-in-ionic-archive-steps/5104/6) and resolved it.

But in my code signing tab the provisioning team looks correct already.

 ![bitrise%20error](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/4/4969d584b9dc0b8f693bcda1908ac55016e74eaf.png)

## Environment:

Bitrise, react native stack

Xcode Archive & Export for iOS

## Build log

> **[Log in - Bitrise](https://app.bitrise.io/users/sign_in)**
>
> Bringing back the joy of iOS & Android development through automating build, testing and support cycles.

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [March 29, 2019, 1:14pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/2 "2019-03-29T13:14:48Z")

</div>

Hello there, could you add a certificate and profile installer step before the archive? 🙃

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 1:18pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/3 "2019-03-29T13:18:52Z")

</div>

Arhh, thought there was something missing here! Is it deliberate that stuff from the .yml that are # commented out disappears ? I wasn’t able to find my comment today, so tried to recreated the workflow from my memories. Forgot one thing it seems 🙂

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 1:27pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/4 "2019-03-29T13:27:04Z")

</div>

Added certificate and profile installer to the workflow, which succeeded, but the xcode archive step is still failling on same error

new build log: [https://app.bitrise.io/build/3231b436359dbad1](https://app.bitrise.io/build/3231b436359dbad1)

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [March 29, 2019, 1:40pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/5 "2019-03-29T13:40:37Z")

</div>

I see you want to export an app-store ipa, but you only have developer certificate and profile uploaded,  
could you try a developer ipa first? also add your teamID in the xcode archive step to be sure, and also upload your deployment certificate and app-store profile 🙃

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 1:58pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/6 "2019-03-29T13:58:27Z")

</div>

Added the teamID and switched to development export method. Same error still. What is this “deployment certificate and app-store profile” that you are mentioning? Could I ask you to point me to a guide that goes over the creation of these certificates? 🙂

log: [https://app.bitrise.io/build/1af2be174db62529](https://app.bitrise.io/build/1af2be174db62529)

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [March 29, 2019, 2:02pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/7 "2019-03-29T14:02:37Z")

</div>

> **[iOS code signing](https://devcenter.bitrise.io/code-signing/ios-code-signing/code-signing/)**
>
> Manage iOS code signing on Bitrise: collect and upload your code signing files using our tools, and export your app with the export method you specify.

this is our full guide on code signing ios apps.  
also I think this is a local issue, I mean you should set this in xcode locally 🤔

> <https://stackoverflow.com/questions/39524148/xcode-error-code-signing-is-required-for-product-type-application-in-sdk-ios>

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 2:15pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/8 "2019-03-29T14:15:09Z")

</div>

Aha, now that’s a problem. Since I’m not using a mac and do not have access to Xcode. (why i saw bitrise as my way to build an .ipa) 😱

_trying to avoid purchasing a mac_

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [March 29, 2019, 2:25pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/9 "2019-03-29T14:25:32Z")

</div>

oh god I understand now, how is the code signing handled in your project? it must be in some json file I guess? 🤔

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 2:45pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/10 "2019-03-29T14:45:43Z")

</div>

Well. I am not sure. I used the react native cli to generate the project, which includes and ios dir, where the xcode project is. I don’t see any configuration files that have to do with code signing.

I generated all the certificates with the openssl bash tool (on windows) and uploade to bitrise, thinking that the code signing would be handled here, just as with the android code signing of the uploaded jks keystore.

But I might be mistaken?

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [March 29, 2019, 3:10pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/11 "2019-03-29T15:10:48Z")

</div>

is there an `exportOptions.plist` named file somewhere there? 🤔

> <https://gist.github.com/skabber/4f2b20c6bd18e5934909189489549cce>

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [March 29, 2019, 3:18pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/12 "2019-03-29T15:18:42Z")

</div>

> [@fehersanyi-bitrise](#):
>
> exportOptions.plist

Unfortunately not. Maybe this is only generated by Xcode, and the react native cli does not do this when running `rect-native init`. I noticed a `info.plist` file which contains something similar, but does not sound build/export related to me.

I will try and do some research whether there is a way to generate this configuration without using Xcode.

I initially followed this guide: [How To Develop iOS Without a Mac](https://www.andrewhoefling.com/Home/post/how-to-develop-ios-without-a-mac) which mentions bitrise as one way of building a iOS app without the use of a mac. But I also realize that apple are very quick to update their procedures to avoid people being able to do these kind of workarounds.

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [April 1, 2019, 10:52am UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/13 "2019-04-01T10:52:47Z")

</div>

error: Signing for “dashboardwrapper” requires a development team. Select a development team in the project editor. (in target ‘dashboardwrapper’)

Was in the end solved by added the teamID to `Xcode Archive & Export for iOS` -\> `Force Build Setting` -\> `Force code signing with Development Team`

However I am still getting errors in this workflow module. Seems like build configuration should have been created but is not. So for now I am manually trying to fill in the missing pieces

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 1, 2019, 12:07pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/14 "2019-04-01T12:07:07Z")

</div>

wow that the ID solution was easier than I thought 🤔  
what is the issue now?

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [April 1, 2019, 12:23pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/15 "2019-04-01T12:23:21Z")

</div>

First following issue, I was seeing: `error: No profiles for 'com.dashboardwrapper' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.dashboardwrapper'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'dashboardwrapper') `  
build log: [Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation](https://app.bitrise.io/build/4538526b48846479)

Not sure if it is trying to match provisioning profile based on **Bundle ID** but my uploaded provisioning profiles bundle id is `com.dashboardwrapper`

 ![Untitled-1](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/5/58a5c8f970703958da08e22ea2363df800372895.png)

Then I decided to try and add the provisioning profile uuid to the field `Force code signing with Provisioning Profile ` which then seemed to find the provisioning profile. **But** I have a gut feeling that this should not be needed. It should be found automatically as it states, automatic signing is turned on, and the provisioning profile looks correct to me. Anyway…

This revealed another issue: `error: dashboardwrapper has conflicting provisioning settings. dashboardwrapper is automatically signed, but provisioning profile engineering has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor. (in target 'dashboardwrapper')`

build log: [Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation](https://app.bitrise.io/build/7ad7ab6e2e3cbc34)

I’ve googled a bit around, and it seems that most people fix this issue in ther “project editor” I assume this is a Xcode thing. I did find a project config file in my ios project dir called `project.pbxproj` this containes a lot of configuration fx. `/* Begin PBXResourcesBuildPhase section */` & `/* Begin PBXProject section */` Not sure if theese are the conflicting settings, or the conflict happens between my **forced build settings** (in excode-archive workflow module) and the outpput from the certificate-and-profile-installer.

I do have a feeling that I should not need to add neither teamID, provisioning profile UUID or anything else in the forced build settings. I would assume that the output of the Certificate and profile installer step would generate all the needed output for the xcode archive generator step. So, i’m still not at a working build configuration yet.

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 1, 2019, 12:37pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/16 "2019-04-01T12:37:41Z")

</div>

Hy there, Could you remove the force build settings from the xcode archive stem and just have this: `6VB6KXXQPW` as the team ID input?

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [April 1, 2019, 12:41pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/17 "2019-04-01T12:41:15Z")

</div>

**Do you mean from this:**

```
- xcode-archive@2.4.21:
        inputs:
        - export_method: development
        - team_id: D97F7P6xxx
        - force_team_id: D97F7P6xxx
        - force_provisioning_profile: 20064253-fd5a-xxxx-xxxx-xxxxxxxxxx
        - force_provisioning_profile_specifier: engineering
        - force_code_sign_identity: ''
        - project_path: "$BITRISE_PROJECT_PATH"

```

**To this:**

```
- xcode-archive@2.4.21:
        inputs:
        - export_method: development
        - team_id: D97F7P6xxx
        - project_path: "$BITRISE_PROJECT_PATH"
```

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [April 1, 2019, 12:48pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/18 "2019-04-01T12:48:15Z")

</div>

By removing the forced build settings, I am back to initial error: `error: Signing for "dashboardwrapper" requires a development team. Select a development team in the project editor. (in target 'dashboardwrapper')`

log: [https://app.bitrise.io/build/2e187ebda1af3174](https://app.bitrise.io/build/2e187ebda1af3174)

---

<div class="post-metadata">

**Author:** ![rpuls](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/rpuls/32/2166_2.png) [@rpuls](https://discuss.bitrise.io/u/rpuls)\
**Post date:** [April 1, 2019, 12:57pm UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/19 "2019-04-01T12:57:31Z")

</div>

And with the other Team ID still same 🤔

log: [Bitrise - Mobile Continuous Integration and Delivery - iOS & Android Build Automation](https://app.bitrise.io/build/c2f2834c3f1948f4)

Which team ID is the correct one? I followed this answer, to locate my team ID

> <https://stackoverflow.com/questions/18727894/how-can-i-find-my-apple-developer-team-id-and-team-agent-apple-id>

But I see there is one under the provisioning profile as well, (the 6VB6KXXQPW one) neither seems to work

Update: not sure that: `6VB6KXXQPW` is a team ID after all. Looks more like a certificate id.

---

<div class="post-metadata">

**Author:** ![fehersanyi-bitrise](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/fehersanyi-bitrise/32/1912_2.png) [@fehersanyi-bitrise](https://discuss.bitrise.io/u/fehersanyi-bitrise)\
**Post date:** [April 2, 2019, 7:50am UTC](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602/20 "2019-04-02T07:50:34Z")

</div>

You are right, the D9… should be the team ID to be used 🤔

[Next page](https://discuss.bitrise.io/t/ios-error-signing-requires-a-development-team/8602.md?page=2)
