Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24797] iOS: Failed .ipa exports for enterprise ad hoc builds shows wrong error

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2017-06-15T04:53:27.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsiOS, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2017-06-08T20:26:39.000+0000
Updated2017-07-12T15:20:40.000+0000

Description

When doing an ad hoc build using an enterprise ad hoc provisioning profile AND the exporting of the Xcode archive to an IPA fails, it displays the wrong message because it scans "distribution" and "adhoc" provisioning profiles only and forgets to scan "enterprise" ad hoc provisioning profiles.

Expected output

[ERROR] Failed to export archive to ipa

[ERROR] The selected provisioning profile "<PROVISIONING PROFILE UUID>" is most likely not a valid Ad Hoc provisioning profile.

[ERROR] Please ensure you are using a valid Ad Hoc provisioning that is linked to the signing identity, then try again.

Actual output

[ERROR] Failed to export archive to ipa

[ERROR] The selected provisioning profile doesn't appear to be a Ad Hoc provisioning profile or match the signing identity.

[ERROR] Please ensure you are using a valid Ad Hoc provisioning that is linked to the signing identity, then try again.

Comments

  1. Chris Barber 2017-06-08

    TiSDK master PR: https://github.com/appcelerator/titanium_mobile/pull/9133.
  2. Chris Barber 2017-06-15

    The fix for this will be resolved as apart of TIMOB-24798.
  3. Eric Wieber 2017-07-12

    Verified fixed in SDK 6.2.0.v20170711165607 as part of TIMOB-24798. Able to build/package (adhoc and to store) with both explicit and wildcard IDs when using Xcode 9 (beta 2 and 3). No issues encountered.

JSON Source