{ "id": "175454", "key": "AC-6592", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2020-09-04T12:38:13.000+0000", "created": "2020-08-20T13:57:36.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-04T12:38:13.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "Hi Team,\r\n\r\nWe have recently updated our mac OS to Mojavo 10.14.6 in order to add support for iOS 13 SDK. We have updated our studio to 6.0.0 version. However, when we trying to build the app on simulator it terminates the compiling, PFB for the console logs:\r\n\r\n{code}\r\n\r\nAppcelerator Command-Line Interface, version 8.0.0\r\n\r\nCopyright (c) 2014-2020, Appcelerator, Inc. All Rights Reserved.\r\n\r\n2020-08-20T13:19:13.856Z | TRACE | set environment to {\"registry\":\"https://registry.platform.axway.com\",\"baseurl\":\"https://platform.axway.com\"}\r\n\r\n2020-08-20T13:19:13.859Z | TRACE | checking credentials for existing session\r\n\r\n2020-08-20T13:19:14.021Z | TRACE | Attempting to load session info from config file\r\n\r\n2020-08-20T13:19:14.025Z | TRACE | check if session is invalidated\r\n\r\n2020-08-20T13:19:15.261Z | TRACE | refresh session expiry to: 1598534355111\r\n\r\n2020-08-20T13:19:15.262Z | TRACE | session expiry 1598534355111 false\r\n\r\n2020-08-20T13:19:15.263Z | TRACE | Arrow Cloud config file: /Users/naren.bhatt/.acs\r\n\r\n2020-08-20T13:19:15.266Z | TRACE | found Arrow Cloud login { mid: '5bcc19521a616536cf4c9346a31a8247fe7f7bd2',\r\n\r\n publishPort: 443,\r\n\r\n publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n\r\n username: 'appcelerator.dev@investis.com',\r\n\r\n cookie:\r\n\r\n [ 'connect.sid=s%3ABbPGDgdyka_DE72y9FDCPbP59BRLXMWP.%2B2JmSSjNeyqIMBVMGUEzLjJAn9F2mOdCh%2FEA9nEevoY; Path=/; Expires=Mon, 31 Aug 2020 16:08:23 GMT; HttpOnly' ],\r\n\r\n defaultEP:\r\n\r\n { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',\r\n\r\n publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com\r\n\r\n2020-08-20T13:19:15.267Z | TRACE | Arrow Cloud cookie expiry [ 1598890103000 ]\r\n\r\n2020-08-20T13:19:15.267Z | TRACE | session already loaded in opts.session\r\n\r\n2020-08-20T13:19:15.268Z | TRACE | getCredentials() session:\r\n\r\n{\r\n\r\n \"ipaddress\": \"192.168.1.4\",\r\n\r\n \"username\": \"appcelerator.dev@investis.com\",\r\n\r\n \"password\": \"\",\r\n\r\n \"session\": \"\",\r\n\r\n \"nonce\": \"\",\r\n\r\n \"environment\": {\r\n\r\n \"name\": \"production\",\r\n\r\n \"isProduction\": true,\r\n\r\n \"acsBaseUrl\": \"https://api.cloud.appcelerator.com\",\r\n\r\n \"nodeACSEndpoint\": \"https://admin.cloudapp-enterprise.appcelerator.com\"\r\n\r\n },\r\n\r\n \"token\": \"\",\r\n\r\n \"fingerprint\": \"5bcc19521a616536cf4c9346a31a8247fe7f7bd2\",\r\n\r\n \"fingerprint_description\": \"Mac OSX Serial Number: C02TK0N4GTFL\",\r\n\r\n \"org_id\": 100098673,\r\n\r\n \"expiry\": 1598534355111\r\n\r\n}\r\n\r\n2020-08-20T13:19:15.268Z | TRACE | loading plugins for command \"run\"\r\n\r\n2020-08-20T13:19:15.283Z | TRACE | run search paths:\r\n\r\n[\r\n\r\n \"/Users/naren.bhatt/.appcelerator/install/8.0.0/package\",\r\n\r\n \"/Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules\",\r\n\r\n \"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3/plugins\",\r\n\r\n \"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3/node_modules\",\r\n\r\n \"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/node_modules\",\r\n\r\n \"/Users/naren.bhatt/Documents/node_modules\",\r\n\r\n \"/Users/naren.bhatt/node_modules\",\r\n\r\n \"/Users/node_modules\",\r\n\r\n \"/node_modules\",\r\n\r\n \"/Users/naren.bhatt/.appcelerator/.npm/lib/node_modules\"\r\n\r\n]\r\n\r\n2020-08-20T13:19:15.283Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/naren.bhatt/.appcelerator/install/8.0.0/package/appc.js\r\n\r\n2020-08-20T13:19:15.382Z | DEBUG | [PLUGIN-LOAD] 95ms /Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules/appc-cli-titanium/appc.js\r\n\r\n2020-08-20T13:19:15.382Z | DEBUG | run plugin: /Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules/appc-cli-titanium\r\n\r\n2020-08-20T13:19:15.418Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via function\r\n\r\n2020-08-20T13:19:15.419Z | TRACE | loading plugin \"titanium\" for command \"run\" CLI options via array\r\n\r\n2020-08-20T13:19:15.422Z | TRACE | executing command \"run\" with the following plugins:\r\n\r\n[\"titanium\"]\r\n\r\n2020-08-20T13:19:15.424Z | TRACE | session already loaded in opts.session\r\n\r\n2020-08-20T13:19:15.427Z | DEBUG | Titanium Downloads Last Checked: 1597929224583\r\n\r\n8/20/2020, 2:19:20 PM\r\n\r\nOperating System\r\n\r\n Name = Mac OS X\r\n\r\n Version = 10.14.6\r\n\r\n Architecture = 64bit\r\n\r\n # CPUs = 8\r\n\r\n Memory = 17179869184\r\n\r\nNode.js\r\n\r\n Node.js Version = 10.13.0\r\n\r\n npm Version = 6.4.1\r\n\r\nTitanium CLI\r\n\r\n CLI Version = 5.2.2\r\n\r\nTitanium SDK\r\n\r\n SDK Version = 9.0.3.GA\r\n\r\n SDK Path = /Users/naren.bhatt/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA\r\n\r\n Target Platform = iphone\r\n\r\nCommand\r\n\r\n /usr/local/bin/node /Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules/titanium/lib/titanium.js build --platform ios --log-level trace --sdk 9.0.3.GA --project-dir /Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3 --target simulator --ios-version 13.0 --device-family universal --deploy-type development --device-id A73DFC99-F531-40C6-AF8E-EF583B5C6836 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 49482 --config-file /var/folders/b5/c60qm3bd60v4gnv6vvj5gwd5cnhr2y/T/build-1597929555425.json --no-banner --project-dir /Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3\r\n\r\n{code}\r\n\r\nCan you please check this and let us know what is lacking with the new configuration.\r\n", "attachment": [], "flagged": false, "summary": "Not able to build the app using Appcelerator Studio 6.0.0", "creator": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "environment": null, "comment": { "comments": [ { "id": "456530", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~ios.admin@investis.com] is that all the log output? The logs you've attached do not contain anything that shows what the issue could be. I'd advise trying to build your project outside of studio using {{appc run -p ios}} (make sure you're in the project directory first) to see if you obtain better logs. Make sure you ready any error messages carefully and remember that this issue tracker *is not* a help forum.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-20T14:02:34.000+0000", "updated": "2020-08-20T14:02:34.000+0000" }, { "id": "456531", "author": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Ewan Harris,\r\n\r\nYes, this is all the log output? we have be building the app using using the user interface feature in the studio, do you want us to build the app using the CLI command. ", "updateAuthor": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-08-20T14:08:19.000+0000", "updated": "2020-08-20T14:08:19.000+0000" }, { "id": "456532", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "To try and see if there is more logging yes I would advise attempting to build the project using {{appc run -p ios}} from terminal", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-20T14:15:49.000+0000", "updated": "2020-08-20T14:15:49.000+0000" }, { "id": "456543", "author": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "body": "@Ewan Harris\r\n\r\nWe tried build the app using CLI, just had an addition to the the previous output log, PFB for the addition:\r\n\r\nTypeError: Cannot read property '0' of undefined\r\n at detectModule (/Users/naren.bhatt/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA/node_modules/node-appc/lib/timodule.js:625:74)\r\n\r\nHope this helps you to identify the issue.", "updateAuthor": { "name": "ios.admin@investis.com", "key": "ios.admin@investis.com", "displayName": "ios.admin@investis.com", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2020-08-21T13:02:10.000+0000", "updated": "2020-08-21T13:02:10.000+0000" }, { "id": "456545", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "It looks like potentially one of your modules might have a bad manifest, the line of code in question is [here|https://github.com/appcelerator/node-appc/blob/f0aad6f88425889261871ced728dd0bf1287a117/lib/timodule.js#L625] and it's erroring when referencing the platform from the manifest, so my best guess is your module doesn't declare a platform.\r\n\r\nFrom the logs here though I can't tell which one it might be, I'd maybe suggest opening up {{/Users/naren.bhatt/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA/node_modules/node-appc/lib/timodule.js}} and going to line 624 and adding {{console.log(mod.modulePath);}} to see which one the culprit is, whichever logs last before the error is the one you need to fix", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-21T14:10:09.000+0000", "updated": "2020-08-21T14:10:09.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }