XCode 9 Build Failing

Bitrise Build Issue Report template

Description of the issue

Builds on XCode 9 are failing with: “Failed to create target code sign properties mapping, error: failed to unmarshal output: <PBXSourcesBuildPhase UUID=1341EB3E1D724E2C00D26B49> attempted to initialize an object with an unknown UUID. 133780001E675A5B0004FE3B for attribute: files. This can be the result of a merge and the unknown UUID is being discarded.” error.


Where did the issue happen?
On Bitrise.io, stack: Xcode 9.0.x, on macOS 10.12 (Sierra)

Which build Step causes the issue and which version of the step?


  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • If you have multiple different build configurations (workflows), does the issue affect all/more than one? : YES
  • If it’s an issue which happens sporadically, what’s the frequency? (e.g. Once a day ; about x% of the builds) : 100%
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : After upgrading to XCode 9 stack

Build log

Hey @dhavalcue !

First of all thank you for reporting and sorry for the inconvenience! Our team is already working hard on fixing the issue. :blush:

Hopefully it will be fixed soon in the new step version!

Thanks @tamaspapik, do you guys have an ETA on this yet? Should I just watch the step github repo to get an update when it’s fixed?

Hi @dhavalcue,

we released a new version (2.3.1) of Xcode Archive & Export for iOS step.
This version contains a lots of fixes related to the new provisioningProfiles node in the exportOptions.plist, please update to this version and let us know, how doest it work!

Thanks for the reports and the helps!

@godreikrisztian: My builds are still failing. https://www.bitrise.io/build/42d993764d7cd3c3

I now see: Export failed, error: signal: segmentation fault

@dhavalcue: Could you please confirm that a re-build does not fixes the issue?

@tamaspapik: Yes, 2.3.1 did not fix the step for us. The builds are still failing.

Hi @dhavalcue,
Until we release a fix, please use this workaround: Xcode 9 GM - Failed to create target code sign properties mapping, error

Hi @godreikrisztian,

I have followed the workaround proposed in this post : https://blog.bitrise.io/new-export-options-plist-in-xcode-9

This got me a bit further. The build was successful, the log says that also exporting was successful but the ipa is missing. This is what I see in the log:

[11:29:53] xcodebuild “-exportArchive” “-archivePath” “/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__archive__203601343/ClareControls.xcarchive” “-exportPath” “/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__export__058437650” “-exportOptionsPlist” "/Users/vagrant/deploy/export_options.plist"
2017-09-25 11:29:54.472 xcodebuild[8540:33896] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path ‘/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/ClareControls_2017-09-25_11-29-54.469.xcdistributionlogs’.
Exported ClareControls.xcarchive to: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__export__058437650
No ipa found with pattern: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/__export__058437650/*.ipa

This is a link to a build failing: https://www.bitrise.io/build/71dda2946f96c3cd

Any thoughts?

Thank you in advance.

Hi @lbaxevanaki,
thanks for the report! Please enable bitrise-support for your project to let use take a look on your build log, it can be done on your bitrise project’s settings page.

Hi @godreikrisztian,

I just enabled it.


@lbaxevanaki this is strange the export succeded, so the ipa should exist there…
We will check this asap.

1 Like

Also currently encountering this issue, more specifically the .ipa not found.

Hi @godreikrisztian,

any update on this issue?



we released a new version of the step: 2.3.2.
Please update the step in your workflows and do not forget to update Certificate and Profile Installer step to the latest version (1.9.0) as well.
Let us know how it works for you!

1 Like

@godreikrisztian: Unfortunately, builds are still failing with “Export failed, error: signal: segmentation fault”.

Build: https://www.bitrise.io/build/02a1280926b37e57

@godreikrisztian: Any update on this issue?

We’re working on fixes, a new one will be released soon @dhavalcue!

Did you try it with the current latest version of Xcode Archive?


sorry for the issues with the Xcode Archive & Export for iOS step and thanks for all the reports, and lettings us test with your projects.

We released a new version (2.3.3) of Xcode Archive & Export for iOS step.


  • fixed scheme - application target mapping
  • fixed target - provisioning profile mapping
  • handle if archive used NON xcode managed profile
  • prefer archive team, if multiple code sign groups found

Please also update the Certificate and Profile Installer step to the new version: 1.9.1.

@godreikrisztian, @viktorbenei: Sorry guys, it’s still failing for me.

:x: error: exportArchive: Provisioning profile “BitriseBot-Wildcard” doesn’t support the Push Notifications capability.
:x: error: exportArchive: Provisioning profile “BitriseBot-Wildcard” doesn’t include the aps-environment entitlement.”

Thanks for everything team. It was a good run, but we’ll have to explore other options for this.