{ "id": "115581", "key": "TIMOB-14138", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "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-11-01T23:03:35.000+0000", "created": "2013-06-06T04:06:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_cli", "qe-closed-3.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-11T00:15:14.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "After the prepare phase is executed, xcodebuild is called. The first thing Xcode does is call the CLI again and initiates the pre-compile phase. While this works, it adds several seconds to the build time.", "attachment": [], "flagged": false, "summary": "CLI: iOS: Immediately call the pre-compile phase after the prepare phase", "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": "277629", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4898", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-01T06:27:46.000+0000", "updated": "2013-11-01T06:27:46.000+0000" }, { "id": "277774", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "no pre-compile script run once inside xcodebuild phase", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-01T23:03:35.000+0000", "updated": "2013-11-01T23:03:35.000+0000" }, { "id": "282662", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test: Run an iOS build.\n\nThe phases of iOS build\n\nPreviously:\nPrepare- creates the Xcode project, initialized the build directories\nXcode build - This kicks-off the pre-compile build - Calling the CLI again.\nPre-compile - Ti files are copies and minified, internationalizations, js files are processed\n\nNow: For speed- \nPrepare- creates the Xcode project, initialized the build directories\nPre-compile - Ti files are copies and minified, internationalizations, js files are processed\nXcode build - \n\nTo test: Check a trace log of iOS builds, and verify that you see:\n\"Initiating Prepare Phase\"\n\"Initiating Xcode pre-compile phase\"\n\"Invoking xcodebuild\"\n\"Skipping pre-compile phase\"", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T19:13:10.000+0000", "updated": "2013-12-05T19:13:10.000+0000" }, { "id": "282663", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Additional info: \nWhen a build is opened then run directly from Xcode, Xcode runs only items in the pre-compile phase. We must be vigilant to monitor changes to the prepare phase, as these will not be run when compiling directly from Xcode", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-05T19:15:45.000+0000", "updated": "2013-12-05T19:15:45.000+0000" }, { "id": "283694", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified \"Initiating Prepare Phase\", \"Initiating Xcode pre-compile phase\", \"Invoking xcodebuild\", and \"Skipping pre-compile phase\" from Studio console. \n\nTested on:\n\nAppcelerator Studio, build: 3.2.0.201312091648\nSDK build: 3.2.0.v20131210112451\nCLI: 3.2.0-cr\nAlloy: 1.3.0-cr\nXcode: 5.0.2\nDevice: iphone 5 (7.0.2), iphone 4s (6.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T00:14:57.000+0000", "updated": "2013-12-11T00:14:57.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }