{ "id": "164001", "key": "AC-4558", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2016-10-18T11:10:07.000+0000", "created": "2016-10-17T12:34:43.000+0000", "labels": [ "feedback" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-18T11:10:07.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. I´m using Appcelerator Studio V. 4.7.1 and I got a error message couldn´t connect to the device. \n\nBelow is my console log. \n\n\n\nAppcelerator Command-Line Interface, version 5.5.1\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\n2016-10-17T12:30:22.129Z | TRACE | set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'}\n2016-10-17T12:30:22.131Z | TRACE | checking credentials for existing session\n2016-10-17T12:30:22.415Z | TRACE | Attempting to load session info from config file\n2016-10-17T12:30:22.423Z | TRACE | check if session is invalidated\n2016-10-17T12:30:23.457Z | TRACE | registry result 200 application/json undefined undefined false undefined\n2016-10-17T12:30:23.478Z | TRACE | registry returned { expiry: 1477312223359 }\n2016-10-17T12:30:23.478Z | TRACE | refresh session expiry to: 1477312223359\n2016-10-17T12:30:23.480Z | TRACE | session expiry 1477312223359 false\n2016-10-17T12:30:23.482Z | TRACE | Arrow Cloud config file: /Users/Usuario/.acs\n2016-10-17T12:30:23.484Z | TRACE | found Arrow Cloud login { mid: 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e',\n publishPort: 443,\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\n username: 'nilmarpublio@gmail.com',\n cookie: [ 'connect.sid=s%3AHRgi6ZM6odaYMV98kqg5t6qv.jpCRRI8kSORVqAbYCIhcuW9mGHbzuTGNwHGl3Q7zct0; Path=/; Expires=Sat, 29 Oct 2016 14:15:13 GMT; HttpOnly' ],\n defaultEP: \n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\n2016-10-17T12:30:23.485Z | TRACE | Arrow Cloud cookie expiry [ 1477750513000 ]\n2016-10-17T12:30:23.485Z | TRACE | session already loaded in opts.session\n2016-10-17T12:30:23.487Z | TRACE | getCredentials() session:\n{\n 'ipaddress': '192.168.0.100',\n 'username': 'nilmarpublio@gmail.com',\n 'password': '',\n 'session': '',\n 'nonce': '',\n 'environment': {\n 'name': 'production',\n 'isProduction': true,\n 'acsBaseUrl': 'https://api.cloud.appcelerator.com',\n 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com',\n 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com'\n },\n 'token': '',\n 'fingerprint': 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e',\n 'fingerprint_description': 'Mac OSX Serial Number: W80432QEDAS',\n 'org_id': 100001238,\n 'expiry': 1477312223359\n}\n2016-10-17T12:30:23.488Z | TRACE | loading plugins for command 'run'\n2016-10-17T12:30:23.547Z | TRACE | run search paths:\n[\n '/Users/Usuario/.appcelerator/install/5.5.1/package',\n '/Users/Usuario/.appcelerator/install/5.5.1/package/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules',\n '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules',\n '/Applications/Appcelerator Studio/node_modules',\n '/Applications/node_modules',\n '/node_modules',\n '/Users/Usuario/.appcelerator/.npm/lib/node_modules'\n]\n2016-10-17T12:30:23.549Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/Usuario/.appcelerator/install/5.5.1/package/appc.js\n2016-10-17T12:30:23.880Z | DEBUG | [PLUGIN-LOAD] 329ms /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium/appc.js\n2016-10-17T12:30:23.880Z | DEBUG | run plugin: /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium\n2016-10-17T12:30:23.881Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/arrow/appc.js\n2016-10-17T12:30:23.884Z | DEBUG | run plugin: /Users/Usuario/.appcelerator/install/5.5.1/package/node_modules/arrow\n2016-10-17T12:30:23.887Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping...\n2016-10-17T12:30:23.888Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function\n2016-10-17T12:30:23.889Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array\n2016-10-17T12:30:23.892Z | TRACE | executing command 'run' with the following plugins:\n['titanium']\n2016-10-17T12:30:23.894Z | TRACE | Attempting to load session info from config file\n2016-10-17T12:30:23.895Z | TRACE | check if session is invalidated\n2016-10-17T12:30:24.643Z | TRACE | registry result 200 application/json undefined undefined false undefined\n2016-10-17T12:30:24.643Z | TRACE | registry returned { expiry: 1477312224550 }\n2016-10-17T12:30:24.643Z | TRACE | refresh session expiry to: 1477312224550\n2016-10-17T12:30:24.645Z | TRACE | session expiry 1477312224550 false\n2016-10-17T12:30:24.646Z | TRACE | session already loaded in opts.session\n2016-10-17T12:30:24.673Z | DEBUG | Titanium Downloads Last Checked: 1476700681393\n2016-10-17T12:30:24.932Z | TRACE | No project alloy hook; skipping update to 1.0.0\n2016-10-17T12:30:26.175Z | ERROR | An uncaught exception was thrown!\n2016-10-17T12:30:26.177Z | ERROR | Cannot read property 'devices' of undefined\nCannot read property 'devices' of undefined\n2016-10-17T12:30:26.178Z | TRACE | TypeError: Cannot read property 'devices' of undefined\n at iOSBuilder. (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/iphone/cli/commands/_build.js:298:11)\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:115:12\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:721:13\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:52:16\n at done (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:241:17)\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:44:16\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:718:17\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/async/lib/async.js:167:37\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/index.js:85:6\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/lib/device.js:51:12\n at Object.devices (/Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/node_modules/node-ios-device/ios-device.js:58:12)\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/lib/device.js:48:13\n at /Users/Usuario/Library/Application Support/Titanium/mobilesdk/osx/5.2.2.GA/node_modules/ioslib/lib/utilities.js:55:9\n at _combinedTickCallback (internal/process/next_tick.js:67:7)\n at process._tickCallback (internal/process/next_tick.js:98:9)\n", "attachment": [], "flagged": false, "summary": "Can´t compile", "creator": { "name": "nilmarpublio@gmail.com", "key": "nilmarpublio@gmail.com", "displayName": "Nilmar Castro", "active": true, "timeZone": "America/Sao_Paulo" }, "subtasks": [], "reporter": { "name": "nilmarpublio@gmail.com", "key": "nilmarpublio@gmail.com", "displayName": "Nilmar Castro", "active": true, "timeZone": "America/Sao_Paulo" }, "environment": "Appcelerator Studio 4.7.1", "comment": { "comments": [ { "id": "399218", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "You are using the Appcelerator CLI 5.5.1 with a SDK 5.2.2.GA which obviously won't work. Update your SDK and ensure that the tiapp.xml used the 5.5.1.GA. Clean and build again, the error will disappear. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T11:09:54.000+0000", "updated": "2016-10-18T11:09:54.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }