{ "id": "150549", "key": "TIMOB-19381", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-21T20:43:30.000+0000", "created": "2015-08-20T06:48:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-08-27T20:42:01.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. Steps to reproduce\r\n1. Create a new project: ti create --type app --name foo --id com.appc.foo --platforms all --url http://foo --workspace-dir .\r\n2. cd into the project: cd foo\r\n3. Add a WatchKit 2 app: ti create --type applewatch --name bar --template watchos2\r\n4. exit the project directory: cd /\r\n5. Build the app: ti build -p ios -I 9.0 --project-dir \r\n\r\nh4. Expected result\r\nThe app will build. with or without --launch-watch-app\r\n\r\nh4. Actual result\r\nThe build fails with the following:\r\n{code}\r\n[ERROR] iOS extension \"SGDemoWatchOS2\" Xcode project not found: /extensions/SGDemoWatchOS2/SGDemoWatchOS2.xcodeproj\r\n{code}\r\n\r\n*Note: *Studio needs this fixed in order for it to build the project.", "attachment": [], "flagged": false, "summary": "ti build --project-dir is not working if project contains a watchapp extension", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium CLI 4.1.5\r\nXcode 7 beta 5\r\nTitanium SDK 5.0.0.v20150819162821", "closedSprints": [ { "id": 478, "state": "closed", "name": "2015 Sprint 17 Tooling", "startDate": "2015-08-17T16:09:49.717Z", "endDate": "2015-08-29T01:09:00.000Z", "completeDate": "2015-09-10T19:57:06.855Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "360724", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7058", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-21T20:43:23.000+0000", "updated": "2015-08-21T20:43:23.000+0000" }, { "id": "361496", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11 (15A263e)\r\nStudio 5.0.0.201508271032\r\nTi SDK 5.0.0.v20150827102632\r\nAppc NPM 4.2.0-1\r\nAppc CLI 5.0.0-24\r\nTi CLI 4.1.5\r\nAlloy 1.7.5\r\nArrow 1.2.48\r\nXcode 7.0 (7A192o)\r\nNode v0.10.37\r\nJava 1.7.0_45\r\npreproduction\r\n\r\nCan successfully build a project containing a watchkit 2 app, using --project-dir, without error", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-27T20:42:01.000+0000", "updated": "2015-08-27T20:42:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }