{ "id": "150269", "key": "TIMOB-19332", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-08-12T23:23:57.000+0000", "created": "2015-08-07T21:30:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T17:00:48.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": "10207", "name": "Tooling" } ], "description": "*Details:* Intermittently, if you try to install to an iOS device, then the Appc CLI will install your app to iTunes.\r\n\r\n*Possible steps to reproduce:*\r\n# Create a Titanium project from Appc CLI: {{appc new}}\r\n# Install your project to an iOS device: {{appc run -p ios -T device -l trace}}\r\n# Then, clean your project: {{appc ti clean}}\r\n# Install your project again to an iOS device: {{appc run -p ios -T device -l trace}}\r\n\r\n*Actual:* Occasionally, the CLI will install your app to iTunes; see below for a short version of the trace logs and see attachment for the verbose trace logs:\r\n{code}\r\nWilsonComputer:monkey19326 wluu$ appc ti clean\r\nAppcelerator Command-Line Interface, version 4.2.0-18\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\nPreproduction Environment Active\r\n\r\n[DEBUG] Detecting plugins in /Users/wluu/monkey19326/plugins\r\n[DEBUG] Detected plugin: ti.alloy @ /Users/wluu/monkey19326/plugins/ti.alloy\r\n[DEBUG] Detecting plugins in /Users/wluu/Library/Application Support/Titanium/plugins\r\n[DEBUG] Detected plugin: com.appcelerator.test @ /Users/wluu/Library/Application Support/Titanium/plugins/com.appcelerator.test\r\n[DEBUG] Looking for Titanium plugin id=ti.alloy version=1.0\r\n[INFO] Found Titanium plugin id=ti.alloy version=1.0\r\n[DEBUG] Deleting all platform build directories\r\n[DEBUG] Deleting /Users/wluu/monkey19326/build/.alloynewcli\r\n[DEBUG] Deleting /Users/wluu/monkey19326/build/alloy\r\n[DEBUG] Deleting /Users/wluu/monkey19326/build/build_iphone.log\r\n[DEBUG] Deleting /Users/wluu/monkey19326/build/iphone\r\n[DEBUG] Deleting /Users/wluu/monkey19326/build/map\r\n[INFO] Project cleaned successfully in 2s 719ms\r\n\r\nWilsonComputer:monkey19326 wluu$ appc run -p ios -T device -l trace\r\nAppcelerator Command-Line Interface, version 4.2.0-18\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\nLOTS OF TRACE LOGS APPEAR HERE; LOOK AT ATTACHMENT FOR MORE DETAILS\r\n\r\n[INFO] Finished building the application in 2m 1s 96ms\r\n[INFO] Installing application into iTunes\r\n[INFO] Initiating iTunes sync\r\n[TRACE] updating tiapp metadata with Appcelerator Platform...\r\n[TRACE] Uploaded tiapp metadata with Appcelerator Platform!\r\nTRACE | titanium exited with exit code 0\r\n{code}\r\n\r\n*Expected:* The CLI should not install your app to iTunes when you specify to install to device.", "attachment": [ { "id": "56370", "filename": "trace_logs.txt", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-07T21:26:23.000+0000", "size": 2458616, "mimeType": "text/plain" } ], "flagged": false, "summary": "Intermittently, if you try to install to an iOS device, then the Appc CLI will install your app to iTunes", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.2.0-1\r\nAppc CLI Core: 4.2.0-19\r\nArrow: 1.2.13\r\nSDK: 4.2.0.v20150807112024\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.4)\r\nXcode: 6.4, 7 (beta 5)", "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": "359531", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "If you're having issues reproducing this issue, then it's possible it's not an issue at all. If you don't explicitly pass in a {{\\-\\-device\\-id}} and {{ios.autoSelectDevice}} is set to true, then it will try to use a physical device before resorting to iTunes Sync. It's possible there's a hiccup in node-ios-device where your device is not seen and fallback to iTunes Sync, but disconnecting and reconnecting should fix the issue.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-08-11T05:12:22.000+0000", "updated": "2015-08-11T05:12:22.000+0000" }, { "id": "359746", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As Chris has explained. Closing this as invalid.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-12T23:23:37.000+0000", "updated": "2015-08-12T23:23:37.000+0000" }, { "id": "414209", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T17:00:48.000+0000", "updated": "2017-03-21T17:00:48.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }