Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2036] iOS: Cannot build for adhoc: Invalid Provisioning Profile UUID

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-12-12T18:06:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelstriage
ReporterTommy Leung
AssigneeChris Barber
Created2013-08-25T02:57:09.000+0000
Updated2016-03-08T07:40:59.000+0000

Description

Building iOS ad hoc with latest CI builds no longer works. Generates an error message [ERROR] : Invalid Provisioning Profile UUID Switching to TiSDK 3.1.2.GA does work. Same goes for 3.2.0.v20130629xxxx. I would love to provide a test case but that would require sending private keys.

Comments

  1. Martin Guillon 2013-09-11

    The error comes from [that](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L633) line It needs to be
       var m = name.match(/^([^(]+?)*/);
       return (m ? m[0] : name).trim().toLowerCase();
       
    Just like it is for development profile
  2. Shak Hossain 2013-09-17

    This issue is not reproducible in our environment. Please provided a details test case and reopen if necessary.
  3. Martin Guillon 2013-09-18

    @Shak: to reproduce it you have to regenerate a certificate and provisioning profile. I saw it when i renewed my apple account. Plus please dont just say that it s not reproducible. I actually gave you the exact implementation problem! If you look just a little at it you will clearly see that it s a missing implementation which is already used for the development certificate! Thanks
  4. Jick Steen 2013-09-26

    Same problem here see http://developer.appcelerator.com/question/157606/ios---not-able-to-create-adhoc-distribution
  5. Tommy Leung 2013-12-09

    Given what Martin had replied, will this ever be re-opened?
  6. Wilson Luu 2013-12-09

    Was not able to reproduce this issue with latest RC stack i.e. was able to build for adhoc. Tested on: Titanium Studio, build: 3.2.0.201312081251 SDK build: 3.2.0.v20131209000852 Xcode: 5.0.2 CLI: 3.2.0-beta Alloy: 1.3.0-beta Also, when I pointed my xcode-select to use Xcode 4.5 with my above Titanium setup, I get this error in TiStudio console:
       [ERROR] :  There are no Xcode installations found that are supported by Titanium SDK 3.2.0.
       
  7. Chris Barber 2013-12-12

    I tried and also could not reproduce. Resolving.
  8. Martin Guillon 2013-12-12

    Chris by looking at the code i agree it is fixed. And that s what i would prefer to hear than "could not reproduce" ;) I mean i show the line of where the problem was (well i pointed to the master file, so now it points to the one you modified :P) and there was clearly a difference between dev and dist provisioning profile name check. So the bug existed for sure. For the sake of following bugs correctly it would be better to say that the bug have been fixed. Even if i know that what YOU mean ;) Thanks for looking at it Chris

JSON Source