[AC-6592] Not able to build the app using Appcelerator Studio 6.0.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Done |
Resolution Date | 2020-09-04T12:38:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | ios.admin@investis.com |
Assignee | Abir Mukherjee |
Created | 2020-08-20T13:57:36.000+0000 |
Updated | 2020-09-04T12:38:13.000+0000 |
Description
Hi Team,
We 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:
Appcelerator Command-Line Interface, version 8.0.0
Copyright (c) 2014-2020, Appcelerator, Inc. All Rights Reserved.
2020-08-20T13:19:13.856Z | TRACE | set environment to {"registry":"https://registry.platform.axway.com","baseurl":"https://platform.axway.com"}
2020-08-20T13:19:13.859Z | TRACE | checking credentials for existing session
2020-08-20T13:19:14.021Z | TRACE | Attempting to load session info from config file
2020-08-20T13:19:14.025Z | TRACE | check if session is invalidated
2020-08-20T13:19:15.261Z | TRACE | refresh session expiry to: 1598534355111
2020-08-20T13:19:15.262Z | TRACE | session expiry 1598534355111 false
2020-08-20T13:19:15.263Z | TRACE | Arrow Cloud config file: /Users/naren.bhatt/.acs
2020-08-20T13:19:15.266Z | TRACE | found Arrow Cloud login { mid: '5bcc19521a616536cf4c9346a31a8247fe7f7bd2',
publishPort: 443,
publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
username: 'appcelerator.dev@investis.com',
cookie:
[ 'connect.sid=s%3ABbPGDgdyka_DE72y9FDCPbP59BRLXMWP.%2B2JmSSjNeyqIMBVMGUEzLjJAn9F2mOdCh%2FEA9nEevoY; Path=/; Expires=Mon, 31 Aug 2020 16:08:23 GMT; HttpOnly' ],
defaultEP:
{ publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
2020-08-20T13:19:15.267Z | TRACE | Arrow Cloud cookie expiry [ 1598890103000 ]
2020-08-20T13:19:15.267Z | TRACE | session already loaded in opts.session
2020-08-20T13:19:15.268Z | TRACE | getCredentials() session:
{
"ipaddress": "192.168.1.4",
"username": "appcelerator.dev@investis.com",
"password": "<OMITTED>",
"session": "<OMITTED>",
"nonce": "<OMITTED>",
"environment": {
"name": "production",
"isProduction": true,
"acsBaseUrl": "https://api.cloud.appcelerator.com",
"nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com"
},
"token": "<OMITTED>",
"fingerprint": "5bcc19521a616536cf4c9346a31a8247fe7f7bd2",
"fingerprint_description": "Mac OSX Serial Number: C02TK0N4GTFL",
"org_id": 100098673,
"expiry": 1598534355111
}
2020-08-20T13:19:15.268Z | TRACE | loading plugins for command "run"
2020-08-20T13:19:15.283Z | TRACE | run search paths:
[
"/Users/naren.bhatt/.appcelerator/install/8.0.0/package",
"/Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules",
"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3/plugins",
"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/kone-v3/node_modules",
"/Users/naren.bhatt/Documents/Appcelerator_Studio_Workspace/node_modules",
"/Users/naren.bhatt/Documents/node_modules",
"/Users/naren.bhatt/node_modules",
"/Users/node_modules",
"/node_modules",
"/Users/naren.bhatt/.appcelerator/.npm/lib/node_modules"
]
2020-08-20T13:19:15.283Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/naren.bhatt/.appcelerator/install/8.0.0/package/appc.js
2020-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
2020-08-20T13:19:15.382Z | DEBUG | run plugin: /Users/naren.bhatt/.appcelerator/install/8.0.0/package/node_modules/appc-cli-titanium
2020-08-20T13:19:15.418Z | TRACE | loading plugin "titanium" for command "run" CLI options via function
2020-08-20T13:19:15.419Z | TRACE | loading plugin "titanium" for command "run" CLI options via array
2020-08-20T13:19:15.422Z | TRACE | executing command "run" with the following plugins:
["titanium"]
2020-08-20T13:19:15.424Z | TRACE | session already loaded in opts.session
2020-08-20T13:19:15.427Z | DEBUG | Titanium Downloads Last Checked: 1597929224583
8/20/2020, 2:19:20 PM
Operating System
Name = Mac OS X
Version = 10.14.6
Architecture = 64bit
# CPUs = 8
Memory = 17179869184
Node.js
Node.js Version = 10.13.0
npm Version = 6.4.1
Titanium CLI
CLI Version = 5.2.2
Titanium SDK
SDK Version = 9.0.3.GA
SDK Path = /Users/naren.bhatt/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA
Target Platform = iphone
Command
/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
Can you please check this and let us know what is lacking with the new configuration.
[~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.Hi Ewan Harris, Yes, 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.
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@Ewan Harris We tried build the app using CLI, just had an addition to the the previous output log, PFB for the addition: TypeError: Cannot read property '0' of undefined at detectModule (/Users/naren.bhatt/Library/Application Support/Titanium/mobilesdk/osx/9.0.3.GA/node_modules/node-appc/lib/timodule.js:625:74) Hope this helps you to identify the issue.
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. From 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 addingconsole.log(mod.modulePath);
to see which one the culprit is, whichever logs last before the error is the one you need to fix