{ "id": "119118", "key": "TIMOB-14961", "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": "15645", "description": "2013 Sprint 18 Core", "name": "2013 Sprint 18 Core", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-27T21:55:12.000+0000", "created": "2013-08-27T17:20:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-11T20:55:47.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When building an iOS app for distribution (dist-adhoc, dist-appstore) using Titanium SDK 3.0.X or 3.1.X and using the Titanium CLI 3.2.0, the deploy type is not properly being set to \"production\" in the --target callback.\r\n\r\nWhat happened was there was this bug and a bug in the Titanium CLI. During the Titanium CLI refactor, I fixed the second bug making this bug visible.\r\n\r\nWe can't got back and fix SDKs that have shipped, but we can augment old SDKs with runtime patches. This is where the hook system comes in. A simple hook can tie into the post-validate hook event and fix the deploy type for distribution targets.", "attachment": [], "flagged": false, "summary": "CLI: iOS build for Titanium SDK 3.0.0-3.1.X does not properly set deploy type for dist builds", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "268402", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test:\n\n1) Create an app\n2) Set the to 3.1.2.GA (or any 3.0.x or 3.1.x release)\n3) Do a dist-adhoc or dist-appstore build (test both with and without the --target option)\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-27T18:11:02.000+0000", "updated": "2013-08-27T18:11:02.000+0000" }, { "id": "268411", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium/pull/53", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-27T18:15:59.000+0000", "updated": "2013-08-27T18:15:59.000+0000" }, { "id": "279013", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code}\n ti build -p ios -T dist-adhoc -O /Users/oromero/Desktop\nTitanium Command-Line Interface, CLI version 3.2.0, Titanium SDK version 3.1.3.GA\n{code}\n\ncode}\n[DEBUG] Titanium iOS SDK directory: /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/iphone\n[INFO] Deploy type: production\n[INFO] Building for target: dist-adhoc\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-11T20:55:25.000+0000", "updated": "2013-11-11T20:55:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }