{ "id": "125489", "key": "TIMOB-16325", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2015-11-16T17:23:02.000+0000", "created": "2014-01-28T04:19:02.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "supportTeam" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "49487", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152411", "key": "TISTUD-7811", "fields": { "summary": "iOS: Invalid \"--pp-uuid\" value", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "41135", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "136602", "key": "TISTUD-6932", "fields": { "summary": "iOS: Project fails to build with error 'Invalid \"--pp-uuid\" value'", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-05-08T12:43:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nSome users are having an issue when building ad-hoc distribution for iOS, with the message:\r\n\r\n{code}\r\n[ERROR] : Invalid \"--pp-uuid\" value \"7C696B2E-FFBF-4017-BD16-843350656939\"\r\n{code}\r\n\r\nh4. Steps to reproduce\r\nRight now, we don't have a way to reproduce this. Looks like the only common issue is that they were using 3.1.3 and now 3.2.0. \r\n\r\nh4. Extra info\r\nThis appeared here:\r\n\r\nhttps://developer.appcelerator.com/question/161067/trying-to-archive-for-ad-hoc-but-gets-error-i-xcode---developer-name----pp-uuid\r\n\r\nand today here:\r\n\r\nhttp://developer.appcelerator.com/question/161985/archive-for-ad-hoc-not-working\r\n\r\nh4. Possible Workaround\r\n\r\nA user is saying that the workaround is: Recreating the Run/Debug settings for the specific build choosing the correct provisioning profile solved the issue for me", "attachment": [], "flagged": false, "summary": "iOS: Ad-hoc build fails with 'Invalid \"--pp-uuid\" value' error", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Mobile SDK 3.2.0", "closedSprints": [ { "id": 129, "state": "closed", "name": "To Be Scheduled", "startDate": "2016-03-28T04:03:55.142Z", "endDate": "2016-04-08T04:03:00.000Z", "completeDate": "2016-03-29T04:09:03.755Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "290375", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~mpmiranda] Any word on how to reproduce this issue? I understand this is caused by building from Studio and not directly from Xcode.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-30T00:42:38.000+0000", "updated": "2014-01-30T00:42:38.000+0000" }, { "id": "290377", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Chris,\n\nnot reproducible on my side. Yes, it's caused by building from Studio.\n\nBest,\n\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-01-30T00:48:09.000+0000", "updated": "2014-01-30T00:48:09.000+0000" }, { "id": "293844", "author": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On OSX 10.9.1, studio/CLI/SDK 3.2.1.GA and seeing this. Happy to help by providing more info.", "updateAuthor": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T00:47:36.000+0000", "updated": "2014-02-20T00:47:36.000+0000" }, { "id": "293850", "author": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Okay, this is no longer a problem for me. Here's what happened.\r\n\r\nI'm on a new machine. Hadn't had Xcode get all my profiles/certs/signing stuff yet. It had some, but the refresh didn't get all of them, so Titanium didn't see any certs.\r\n\r\nI would build in the above situation and see this bug.\r\n\r\nWhat I did to resolve it:\r\n# Going back into Xcode, Accounts, and refreshing the details page (profiles, certs, signing, etc)\r\n# Going back into Titanium, \"Run Configurations,\" Application installer, the menus for choosing profiles updated, and now I can build fine.\r\n\r\nHappy to provide more detail on that.", "updateAuthor": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T00:56:56.000+0000", "updated": "2014-02-20T00:56:56.000+0000" }, { "id": "295926", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "still happening here, TiSDK 3.2.1, CLI 3.2.1, Titanium Studio 3.3.0. Xcode 5.0.2\r\n\r\nI have this problem when I try to Archive my project from Xcode. Publishing directly from Studio works fine.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-03-06T15:13:01.000+0000", "updated": "2014-03-06T15:13:19.000+0000" }, { "id": "299852", "author": { "name": "wxlittle", "key": "wxlittle", "displayName": "Wang Xiao", "active": true, "timeZone": "Asia/Shanghai" }, "body": "I also had this issue.\r\nHowever, after I tried the followings, the App was archived and submitted to App store successfully:\r\n1. Under Project: \r\n select \"iPhone Distribution : ...\" as Code Signing Identity.\r\n select Distribution Provisioning Profile\r\n\r\n2. Under Targets:\r\n use \"iOS Developer\" as Code Signing Identity\r\n use \"None\" as \"Provisioning Profile\"\r\n\r\nNot sure if it is a correct way. I also generated an Adhoc version to test in my phone. Seems ok.\r\nNow I am just waiting for Apple's Review.\r\n\r\n", "updateAuthor": { "name": "wxlittle", "key": "wxlittle", "displayName": "Wang Xiao", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-04-04T09:27:52.000+0000", "updated": "2014-04-04T09:57:42.000+0000" }, { "id": "323698", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I could reproduce the issue, building for iOS device.\r\nThe work around:\r\nRun configuration and delete all existing configs, try to build again. Works for me.\r\n\r\nThe environment tested:\r\nMac osx 10.9.4 Maverics\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK, build: 3.4.0.v20140915084914\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc3\r\ntitanium-code-processor@1.1.1\r\nXcode6\r\nDevice: iPhone 5S iOS8", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T17:23:45.000+0000", "updated": "2014-09-15T17:24:12.000+0000" }, { "id": "328750", "author": { "name": "phpguru", "key": "phpguru", "displayName": "Geoffrey Hoffman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This happened to me after using Ti Studio to try building an archive for then app store, then switching back awhile later to Run > iOS Device > my phone; Clean project did not fix it. Quitting Ti Studio, then reopening it, and cleaning and building again solved it.", "updateAuthor": { "name": "phpguru", "key": "phpguru", "displayName": "Geoffrey Hoffman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-21T04:12:52.000+0000", "updated": "2014-10-21T04:12:52.000+0000" }, { "id": "343077", "author": { "name": "Yrkh8trnoy", "key": "yrkh8trnoy", "displayName": "Kiley Williams", "active": true, "timeZone": "America/Vancouver" }, "body": "This happened to me when I plugged-in a fresh iPhone 5C, went through the motions to set it up through iTunes and the device walk-through, and finally added it as a device on Apple's developer console. I downloaded and applied the development provisioning profile certificate, and then closed opened Titanium Studio. I went to build, and I ran into the error \"Invalid \"--pp-uuid\" value ...\"\r\n\r\nOnce this happened, I was able to get it to run properly by going to \"Run Configurations\" (as mentioned above), selecting the device, and hitting \"Run\".\r\n\r\nJust wanted to share what happened to me recently in case anyone can benefit from it.", "updateAuthor": { "name": "Yrkh8trnoy", "key": "yrkh8trnoy", "displayName": "Kiley Williams", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-12T17:41:35.000+0000", "updated": "2015-02-12T17:41:35.000+0000" }, { "id": "351793", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi All,\r\nI am also facing the same issue while trying to generate IPA with Xcode 6.3.\r\n\r\nSo i just want to know is there any updates on this ticket?", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-06T12:32:00.000+0000", "updated": "2015-05-06T12:32:00.000+0000" }, { "id": "352770", "author": { "name": "supasnyder", "key": "supasnyder", "displayName": "Sean Snyder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Chris\r\n\r\nany news on this--we're trying to update our new app version and we are stuck...any help would really appreciate if you can check it ASAP.\r\nThanks in advance\r\nSean", "updateAuthor": { "name": "supasnyder", "key": "supasnyder", "displayName": "Sean Snyder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-17T19:12:28.000+0000", "updated": "2015-05-17T19:12:28.000+0000" }, { "id": "352772", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~supasnyder] Are you building from Studio? Are you doing an iOS ad-hoc distribution build? What Titanium SDK version are you using? What is your selected Titanium SDK? (run \"ti sdk\" from the terminal) What is the build output with TRACE level logging? (create a gist or pastebin and add a link to this ticket)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-05-17T21:11:16.000+0000", "updated": "2015-05-17T21:11:16.000+0000" }, { "id": "352775", "author": { "name": "supasnyder", "key": "supasnyder", "displayName": "Sean Snyder", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Chris Barber, I will have @Silambarasan Raman reply back to your questions ASAP", "updateAuthor": { "name": "supasnyder", "key": "supasnyder", "displayName": "Sean Snyder", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-17T21:17:47.000+0000", "updated": "2015-05-17T21:17:47.000+0000" }, { "id": "352790", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Chris Barber\r\n\r\nWe are using To SDK 3.5.1 GA and building from Xcode 6.3.\r\n\r\nYes we are using ad hoc distribution too..\r\n\r\nWe were building the IPA file from Xcode and uploaded to app store previously. Now we are facing an issue while try to update the same app.\r\n\r\nPS: I have checked by regenerate the certificates too.\r\n\r\nGetting the below issue while generate build to app store\r\nhttps://developer.appcelerator.com/question/161067/trying-to-archive-for-ad-hoc-but-gets-error-i-xcode---developer-name----pp-uuid", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-18T02:50:34.000+0000", "updated": "2015-05-18T04:50:00.000+0000" }, { "id": "352891", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "So, here's the deal. When you open a generated Titanium app in Xcode, then build it, the Xcode project's pre-compile phase runs a Titanium iOS build which skips all Xcode related tasks and simply compiles the JavaScript, copies images, generated i18n files, etc. Xcode sets a bunch of environment variables when spawning the Titanium iOS build, however none of them indicate with certainty whether the app is being built for device, appstore, or ad-hoc distribution. We currently look at the CURRENT_ARCH to determine if the value is i386, then we know you're doing a simulator build, otherwise we default to device builds.\r\n\r\nSince there's no way to distinguish between dist and device builds, the Titanium iOS build assumes device builds. This which means that Xcode is essentially calling {{ti build \\-p ios \\-T device}} in which case {{--pp-uuid}} is required and hence the error message.\r\n\r\nThere is no straightforward solution. We could hack something and look at one of the paths in the Xcode environment variables to try and determine a dist vs device build, but then how do we tell appstore from ad-hoc builds? Furthermore, if the Titanium iOS build is only compiling JS and copying images, why does it care what the target is? We just need the deploy type. This comes down to the Titanium iOS build not having first class support for building from Xcode. Could we fix it? Probably. Is it a priority? Unfortunately no.\r\n\r\nHOWEVER, I have a workaround! In Xcode, go to the project target you want to build (i.e. myapp-universal), then select \"Build Phases\". Expand the \"Pre-Compile\" phase. In the shell script, find the Titanium iOS build call and after the {{\\-\\-xcode}} flag, add {{--target dist-adhoc --output-dir dist}}. Then simply \"archive\" the app and you should be good to go. If you rebuild your Titanium app from Studio/CLI, then you'll need to change the pre-compile script again.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-05-18T18:41:43.000+0000", "updated": "2015-05-18T18:41:43.000+0000" }, { "id": "352963", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Chris Barber,\r\n\r\n Thanks for your info, Its solved an error, I have successfully update app to app store.\r\n", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-19T10:13:20.000+0000", "updated": "2015-05-19T10:13:20.000+0000" }, { "id": "358190", "author": { "name": "zeeshansuleman", "key": "zeeshansuleman", "displayName": "zee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "hi i have updated the pre compile phase but the error is not gone .please guide", "updateAuthor": { "name": "zeeshansuleman", "key": "zeeshansuleman", "displayName": "zee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-23T07:58:33.000+0000", "updated": "2015-07-23T07:58:33.000+0000" }, { "id": "370359", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "In Titanium 5.0, we ripped out the Xcode pre-compile phase. This means we no longer build the app, then have Xcode call the Titanium CLI to copy files. By doing this, we sped up the build considerably at the cost of building directly from Xcode becoming more tricky.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-16T17:23:02.000+0000", "updated": "2015-11-16T17:23:02.000+0000" }, { "id": "415208", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T23:04:32.000+0000", "updated": "2017-03-22T23:04:32.000+0000" }, { "id": "419253", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "am getting this error again\r\n", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-07T17:26:20.000+0000", "updated": "2017-05-07T17:26:20.000+0000" }, { "id": "419255", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "sdk 6.0.4GA", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-07T17:30:54.000+0000", "updated": "2017-05-07T17:30:54.000+0000" }, { "id": "419256", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "should you re-open this issue?", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-07T17:31:09.000+0000", "updated": "2017-05-07T17:31:09.000+0000" }, { "id": "419280", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~mike@warnes.com] Are you building from Appcelerator Studio or directly from Xcode? Are you on the latest version of Studio? Are you sure your provisioning profile is a valid adhoc provisioning profile (not expired, tied to correct app id)?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-05-08T12:38:24.000+0000", "updated": "2017-05-08T12:38:24.000+0000" }, { "id": "419281", "author": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "body": "yes I have the latest updates, and the project was previously building quite happily for about 18 months! I'm building from studio, but tried building from xcode in desperation! Have regenerated all provisioning profiles, and certificates. Deleted everthing from cache, tried adding profiles through xcode and studio, but always the same result. I can run the application in debug on the simulator and the iphone so totally stumped at the moment. Clearly this has been happening on and off over the last few years\r\n", "updateAuthor": { "name": "mike@warnes.com", "key": "mike@warnes.com", "displayName": "michael warnes", "active": true, "timeZone": "Europe/London" }, "created": "2017-05-08T12:43:30.000+0000", "updated": "2017-05-08T12:43:30.000+0000" } ], "maxResults": 25, "total": 25, "startAt": 0 } } }