{ "id": "123554", "key": "TIMOB-15970", "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": [ { "id": "15719", "description": "2013 Sprint 26", "name": "2013 Sprint 26", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "15721", "description": "2013 Sprint 26 Core", "name": "2013 Sprint 26 Core", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "15821", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15824", "description": "2014 Sprint 02 Core", "name": "2014 Sprint 02 Core", "archived": true, "released": true, "releaseDate": "2014-01-31" }, { "id": "15747", "description": "Release 3.1.4", "name": "Release 3.1.4", "archived": true, "released": false }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-23T00:23:20.000+0000", "created": "2013-12-10T21:22:19.000+0000", "priority": null, "labels": [ "appcelerator_smoke", "ios", "qe-closed-3.2.0", "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "33744", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "81742", "key": "TIMOB-5823", "fields": { "summary": "iOS: Support building to device, directly to the device, skipping iTunes", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-08T16:45:09.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": "When attempting to build an ad-hoc distribution, the provisioning profiles, that previously worked, are not displayed and therefore cannot be selected.\r\n\r\nAttempted measures\r\n- Deletion of /Applications/Titanium\\ Studio\r\n- Deletion of ~/Library/Application\\ Support/Titanium\r\n- Reinstallation of Appcelerator Titanium.\r\n- Deletion of workspace .metadata directory\r\n- Deletion of app .setting directory\r\n\r\nLogfile contents:\r\n\r\n!ENTRY com.aptana.core 1 0 2013-12-10 22:18:30.336\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.aptana.core/debug/shell Running process:\r\nProcess: \"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"--no-banner\" \"status\" \"-o\" \"json\"\r\nWorking directory: null\r\nEnvironment: {ANALYTICS_SOURCE=studio, ANDROID_SDK=/Users/pete/android-sdk, APTANA_VERSION=3.1.4.1381354727, Apple_PubSub_Socket_Render=/tmp/launch-xDsNxv/Render, CLICOLOR=1, DISPLAY=/tmp/launch-C9niNC/org.macosforge.xquartz:0, HOME=/Users/pete, JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, LANG=en_US.UTF-8, LESS=-X, LOGNAME=pete, PATH=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/Users/pete/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/pete/android-sdk/tools:/Users/pete/android-sdk/platform-tools:/Applications/MAMP/Library/bin:/Applications/Gnuplot.app/Contents/Resources/bin:/Applications/MAMP/bin/php/php5.4.4/bin, PWD=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-fIhD3n/Listeners, TMPDIR=/var/folders/pm/shl9vq093q1cmk58w6vbss5r0000gn/T/, USER=pete, __CF_USER_TEXT_ENCODING=0x1F5:0:2, __CHECKFIX1436934=1, com.apple.java.jvmTask=JNI}\r\n\r\n!ENTRY com.aptana.core 1 0 2013-12-10 22:18:31.089\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.aptana.core/debug/shell Running process:\r\nProcess: \"/usr/local/bin/titanium\" \"--no-colors\" \"--no-prompt\" \"--no-banner\" \"info\" \"-o\" \"json\" \"-t\" \"ios\"\r\nWorking directory: /\r\nEnvironment: {ANALYTICS_SOURCE=studio, ANDROID_SDK=/Users/pete/android-sdk, APTANA_VERSION=3.1.4.1381354727, Apple_PubSub_Socket_Render=/tmp/launch-xDsNxv/Render, CLICOLOR=1, DISPLAY=/tmp/launch-C9niNC/org.macosforge.xquartz:0, HOME=/Users/pete, JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, LANG=en_US.UTF-8, LESS=-X, LOGNAME=pete, PATH=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin:/Users/pete/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/pete/android-sdk/tools:/Users/pete/android-sdk/platform-tools:/Applications/MAMP/Library/bin:/Applications/Gnuplot.app/Contents/Resources/bin:/Applications/MAMP/bin/php/php5.4.4/bin, PWD=/, SHELL=/bin/bash, SHLVL=1, SSH_AUTH_SOCK=/tmp/launch-fIhD3n/Listeners, TMPDIR=/var/folders/pm/shl9vq093q1cmk58w6vbss5r0000gn/T/, USER=pete, __CF_USER_TEXT_ENCODING=0x1F5:0:2, __CHECKFIX1436934=1, com.apple.java.jvmTask=JNI}\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:31.998\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Retrieved number of profiles: 0\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:31.999\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Number of profiles after filtering: 0\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:32.047\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Retrieved number of profiles: 0\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:32.048\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Number of profiles after filtering: 0\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:32.091\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Retrieved number of profiles: 0\r\n\r\n!ENTRY com.appcelerator.titanium.mobile 1 0 2013-12-10 22:18:32.093\r\n!MESSAGE (Build 3.1.4.201310171935) [INFO] com.appcelerator.titanium.mobile/debug/provisioning Number of profiles after filtering: 0\r\n", "attachment": [ { "id": "44536", "filename": "prov_profiles_missing.png", "author": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T21:22:19.000+0000", "size": 198304, "mimeType": "image/png" }, { "id": "44537", "filename": "provprofiles_settings.png", "author": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-10T21:22:19.000+0000", "size": 139128, "mimeType": "image/png" } ], "flagged": false, "summary": "Can't select ad-hoc provisioning profile", "creator": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Studio, build: 3.1.4.201310171935\r\n(c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved.\r\n\r\nBuild: jenkins-titanium-rcp-master-26 (origin/master)\r\nDate: 17 October 2013, 19:36:16\r\n\r\nOS X 10.9 MacBook Air\r\n", "comment": { "comments": [ { "id": "283807", "author": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "body": "The problem is in {{/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/ios.js}}\n\nAn attempt is made to base64 decode the entire developer certificate object, whereas the base64 value of interest is in the field {{\"value\"}} of the certificate object.\n\nChange the line 207 from this\n\n{code}\n} else if (new Buffer(p.DeveloperCertificates[0], 'base64').toString().indexOf('Distribution:') != -1) {\n{code}\n\nto this\n\n{code}\n} else if (new Buffer(p.DeveloperCertificates[0].value, 'base64').toString().indexOf('Distribution:') != -1) {\n{code}\n\nto cure the problem.\n", "updateAuthor": { "name": "pedrevans", "key": "pedrevans", "displayName": "Peter Evans", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-11T13:02:47.000+0000", "updated": "2013-12-11T13:02:47.000+0000" }, { "id": "284064", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This was fixed in Titanium SDK 3.2.0: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/lib/detect.js#L464.\n\nI doubt we'll backport this fix for 3.1.x.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-12T21:14:59.000+0000", "updated": "2013-12-12T21:14:59.000+0000" }, { "id": "284067", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed as apart of TIMOB-5823.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-12T21:18:27.000+0000", "updated": "2013-12-12T21:18:27.000+0000" }, { "id": "284496", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Reopening to backport to 3.1.x!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-16T18:53:15.000+0000", "updated": "2013-12-16T18:53:15.000+0000" }, { "id": "284863", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/node-appc/pull/74\n3.1.x pull request: https://github.com/appcelerator/node-appc/pull/76\n3.2.x pull request: https://github.com/appcelerator/node-appc/pull/75", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-17T21:27:57.000+0000", "updated": "2013-12-17T21:27:57.000+0000" }, { "id": "285211", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified I was able to select my adhoc provisioning profiles from AppcStudio, package my apps (Alloy and Classic), and install to device.\n\nTested on:\n\nAppcelerator Studio, build: 3.2.0.201312181652\nSDK build: 3.2.0.v20131218153242\nCLI: 3.2.0-cr3\nAlloy: 1.3.0-cr2\nXcode: 5.0.2\nDevices: iphone 5 (6.1.3), iphone 5s (7.0.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-19T18:48:40.000+0000", "updated": "2013-12-19T18:48:40.000+0000" }, { "id": "289248", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Getting error while building for latest 3.1.4 with following versions of CLI 3.1.2, 3.2.0, 3.2.1-beta2. Not able to build for any platform.\r\n\r\n{code}\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'options' of undefined\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.1.4.v20140117150142/node_modules/titanium-sdk/lib/titanium.js:71:11\r\n at Array.forEach (native)\r\n at set (/Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.1.4.v20140117150142/node_modules/titanium-sdk/lib/titanium.js:70:24)\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.1.4.v20140117150142/node_modules/titanium-sdk/lib/titanium.js:106:6\r\n at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.1.4.v20140117150142/mobileweb/cli/commands/_build.js:60:4\r\n at CLI._fireHookCallback (/usr/local/lib/node_modules/titanium/lib/hook.js:245:12)\r\n at /usr/local/lib/node_modules/titanium/lib/hook.js:224:10\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13\r\n at async.eachSeries (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:127:20)\r\n at _asyncMap (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:223:9)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 8\r\n{code}\r\n\r\nThe changes in the 3.1.X PR in this ticket need to be reverted (according to Chris Barber).\r\n\r\nReopening.\r\n\r\nEnvironment:\r\nAppc Studio : 3.2.1.201401201818\r\nTi SDK : 3.1.4.v20140117150142\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.1-beta3\r\nCLI: 3.1.2, 3.2.0, 3.2.1-beta2\t\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-22T18:27:56.000+0000", "updated": "2014-01-22T18:27:56.000+0000" }, { "id": "289324", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Note: the error in Lokesh's last comment is the wrong error. His error is relating to TIMOB-16289.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-23T00:12:58.000+0000", "updated": "2014-01-23T00:12:58.000+0000" }, { "id": "289334", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3.1.x revert pr: https://github.com/appcelerator/node-appc/pull/82", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-23T00:23:14.000+0000", "updated": "2014-01-23T00:23:14.000+0000" }, { "id": "290137", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. Able to build with latest 3.1.4 sdk.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.2.1.201401241158\r\nTi SDK : 3.1.4.v20140122162104\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.1-beta4 \t\r\nCLI - 3.2.1 beta3\r\nNexus 4 - android 4.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-29T00:23:25.000+0000", "updated": "2014-01-29T00:23:25.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }