# Exports for iOS fails due to need to pass -allowProvisioningUpdates parameter to xcodebuild

**URL:** <https://forums.fusetools.com/t/exports-for-ios-fails-due-to-need-to-pass-allowprovisioningupdates-parameter-to-xcodebuild/3589>\
**Category:** How-to Discussions\
**Created:** [November 19, 2017, 10:06pm UTC](https://forums.fusetools.com/t/exports-for-ios-fails-due-to-need-to-pass-allowprovisioningupdates-parameter-to-xcodebuild/3589 "2017-11-19T22:06:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curtis\_Rock](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@Curtis\_Rock](https://forums.fusetools.com/u/Curtis_Rock)\
**Post date:** [November 19, 2017, 10:06pm UTC](https://forums.fusetools.com/t/exports-for-ios-fails-due-to-need-to-pass-allowprovisioningupdates-parameter-to-xcodebuild/3589/1 "2017-11-19T22:06:31Z")

</div>

I’m running Fuse Studio on a Mac with the latest OS 10.13.1 and running latest Xcode 9.1, and your default test app. I have been able to preview the Fuse test app on both the Xcode simulator and an iOS device. However, when running Export for iOS, the build fails. Following is the unoproj I am using, followed by the error message.

```auto
{
  "iOS": {
  	"BundleIdentifier": "com.wirelessmessaging.testapp"
  },

  "RootNamespace":"",
  "Packages": [
    "Fuse",
    "FuseJS"
  ],
  "Includes": [
    "*"
  ]
}

```

Building iOS app

```auto
Code Signing Error: No profiles for 'com.wirelessmessaging.testapp' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.wirelessmessaging.testapp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.1'
**BUILD FAILED**

The following build commands failed:
	Check dependencies
(1 failure)

(unknown): E0200: iOS build failed

=== BUILD TARGET TestApp OF PROJECT TestApp WITH THE DEFAULT CONFIGURATION (Release) ===

Check dependencies
Code Signing Error: No profiles for 'com.wirelessmessaging.testapp' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.wirelessmessaging.testapp'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.1'
(2.2 s)

Build completed in 10.79 seconds
    1 error

```

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [November 20, 2017, 10:20am UTC](https://forums.fusetools.com/t/exports-for-ios-fails-due-to-need-to-pass-allowprovisioningupdates-parameter-to-xcodebuild/3589/2 "2017-11-20T10:20:34Z")

</div>

Hi Curtis.

While the error message tells that you should pass a flag, the problem actually isn’t that. What you have there is incorrectly configured XCode.

You should register your app id (`com.wirelessmessaging.testapp`) with iTunes Connect platform, then download/update provisioning profiles to XCode, and finally add your [development team ID](https://www.fusetools.com/docs/preview-and-export/signing#xcode-development-team-ids) to the `.unoproj` file.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Curtis\_Rock](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@Curtis\_Rock](https://forums.fusetools.com/u/Curtis_Rock)\
**Post date:** [November 20, 2017, 6:01pm UTC](https://forums.fusetools.com/t/exports-for-ios-fails-due-to-need-to-pass-allowprovisioningupdates-parameter-to-xcodebuild/3589/3 "2017-11-20T18:01:44Z")

</div>

Thank you. I was able to get a compile to occur on the iOS export, after creating development provisioning profiles in the Apple developer portal and including both BundleIdentifier and DevelopmentTeam parameters in the Fuse unoproj file. I also edited the Bundle Identifier in the Xcode preview project to match the newly created bundle identifier created in the Apple developer portal.
