Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13625] CLI: Using iOS app store provisioning profile during Adhoc Distribution results in app that can be run on device

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-08-30T04:24:55.000+0000
Affected Version/sRelease 3.1.0
Fix Version/sn/a
ComponentsCLI, iOS
Labelsqe-3.1.1, usability
ReporterOlga Romero
AssigneeChris Barber
Created2013-04-18T23:55:49.000+0000
Updated2017-03-23T20:24:50.000+0000

Description

Description:

Code-signing an app with an appstore distribution provision should not allow the app to run on device. In our case it did. When removing installed provisions on the device, we were only unable to install the app (as expected) when no provisions were present. The last one removed was an adhoc provision. We attempted to use each of our active provisions, and only our adhoc provision allowed app installation, indicating that the app was somehow associated with this provision. We opened the .ipa produced and looked at the embedded provision, which seemed accurate. We also verified on the Apple Developer site that the provision we used was in fact NOT an Adhoc provision, but a App store provision. This occurs with both studio and CLI builds

Test steps:

1. Create a project 2. Distribute via studio with: Adhoc/Enterprise option, using an iOS app store provisioning profile. (or use CLI target dist-appstore) 3. Open Xcode and try to add the App to a device 4. Run the app on device

Result:

The app will install and run if an adhoc provision is available on the device

Expected:

Failure to install the app since the provision is app-store only.

Attachments

FileDateSize
Screen Shot 2013-04-18 at 4.07.19 PM.png2013-04-18T23:55:49.000+0000174453
Screen Shot 2013-04-18 at 4.08.17 PM.png2013-04-18T23:55:49.000+0000118300
Screen Shot 2013-04-18 at 4.32.56 PM.png2013-04-18T23:55:49.000+000018065

Comments

  1. Chris Barber 2014-04-02

    [~emerriman] Is this really Titanium's fault? Shouldn't this be an issue with Xcode?
  2. Chris Barber 2016-08-30

    I could not reproduce this with Titanium SDK 5.5.0 and Xcode 7.3.1.
  3. Lee Morris 2017-03-23

    Closing ticket as "Cannot Reproduce" with reference to the above comments.

JSON Source