Titanium JIRA Archive
Appcelerator Community (AC)

[AC-925] I cannot make the app runs after Mac OS update

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-11-04T07:09:40.000+0000
Affected Version/sAppcelerator Studio 4.3.1
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMario Andres Perez Gutierrez
AssigneeRadamantis Torres-Lechuga
Created2015-10-14T15:45:01.000+0000
Updated2016-03-08T07:37:14.000+0000

Description

Steps to Reproduce

I just created a simple project with appcelerator and I cannot make it run to any of the simulators. Basically I did NOTHING to the application. It should run!

Actual Result

Appcelerator Command-Line Interface, version 5.0.3 Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved. TRACE | __command__ search paths: [ '/Users/PowerTop/.appcelerator/install/5.0.3/package', '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules', '/Applications/Appcelerator Studio/node_modules', '/Applications/node_modules', '/node_modules', '/Users/PowerTop/.appcelerator/.npm/lib/node_modules' ] DEBUG | [PLUGIN-LOAD] 1ms /Users/PowerTop/.appcelerator/install/5.0.3/package/appc.js DEBUG | [PLUGIN-LOAD] 1598ms /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/appc.js DEBUG | [PLUGIN-LOAD] 14ms /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/arrow/appc.js log level set to 'trace' executing command 'run' set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'} checking credentials for existing session Attempting to load session info from config file check if session is invalidated session expiry 1445366800451 false +---------------------------------------------------------------------------------------+ + This is a Developer trial account. You may use this software for evaluation purposes. + + Once you are ready to go to production, upgrade at https://billing.appcelerator.com + +---------------------------------------------------------------------------------------+ Arrow Cloud config file: /Users/PowerTop/.acs found Arrow Cloud login { mid: '68:5b:35:8e:46:62', username: 'andrew@mokomonster.com', cookie: [ 'connect.sid=s%3AvLamf9jy8ACkPv1Jf%2BuU7M5J.eeuvoiVRPlUkCM6J2AtVXRzd8iTyvo7y9jRCqs%2F70lM; Path=/; Expires=Wed, 14 Oct 2015 18:46:47 GMT; HttpOnly' ], publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443, defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com Arrow Cloud cookie expiry [ 1444848407000 ] session already loaded in opts.session getCredentials() session: { 'ipaddress': '192.168.100.29', 'username': 'andrew@mokomonster.com', 'password': '', 'session': '', 'nonce': '', 'environment': { 'name': 'production', 'isProduction': true, 'acsBaseUrl': 'https://api.cloud.appcelerator.com', 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com', 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com' }, 'token': '', 'fingerprint': 'f15ca2cfd4a9f9967d6bafa7ed4db3eb8dfd3031', 'fingerprint_description': 'Mac OSX Serial Number: C1MLHH01DTY3', 'org_id': 100045100, 'expiry': 1445366800451 } loading plugins for command 'run' run search paths: [ '/Users/PowerTop/.appcelerator/install/5.0.3/package', '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules', '/Applications/Appcelerator Studio/node_modules', '/Applications/node_modules', '/node_modules', '/Users/PowerTop/.appcelerator/.npm/lib/node_modules' ] [PLUGIN-LOAD] 0ms /Users/PowerTop/.appcelerator/install/5.0.3/package/appc.js [PLUGIN-LOAD] 422ms /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/appc.js run plugin: /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium [PLUGIN-LOAD] 1ms /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/arrow/appc.js run plugin: /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/arrow plugin 'arrow' failed its 'when' function check, skipping... loading plugin 'titanium' for command 'run' CLI options via function loading plugin 'titanium' for command 'run' CLI options via array Duplicate option 'colors' for command 'run', removing... executing command 'run' with the following plugins: ['titanium'] TRACE | Attempting to load session info from config file TRACE | check if session is invalidated TRACE | session expiry 1445366800451 false TRACE | session already loaded in opts.session DEBUG | Titanium Downloads Last Checked: 1444771371315 TRACE | '/usr/local/bin/node' '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium' config -o json-object TRACE | Forcing clean: last build was under Titanium SDK version 4.0.0 and we're compiling for version 5.0.2.GA TRACE | '/usr/local/bin/node' '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium' sdk -o json TRACE | checking for titanium, result: { activeSDK: '5.0.2.GA', defaultInstallLocation: '/Users/PowerTop/Library/Application Support/Titanium', installLocations: [ '/Users/PowerTop/Library/Application Support/Titanium', '/Library/Application Support/Titanium' ], installed: { '5.0.2.GA': '/Users/PowerTop/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA', '4.0.0.GA': '/Users/PowerTop/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA' }, sdks: { '5.0.2.GA': { name: '5.0.2.GA', manifest: [Object], path: '/Users/PowerTop/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }, '4.0.0.GA': { name: '4.0.0.GA', manifest: [Object], path: '/Users/PowerTop/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA' } } } TRACE | /usr/local/bin/node [ '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium', 'build', '--platform', 'ios', '--log-level', 'trace', '--sdk', '4.0.0.GA', '--project-dir', '/Library/WebServer/Documents/MobileAPPs/justTesting', '--target', 'simulator', '--ios-version', '9.0', '--device-family', 'universal', '--deploy-type', 'development', '--sim-type', 'ipad', '--sim-version', '9.0', '--device-id', '29803A2F-60B7-4B2D-8F28-98D26489093B', '--skip-js-minify', '--no-colors', '--no-progress-bars', '--no-prompt', '--prompt-type', 'socket-bundle', '--prompt-port', '51790', '--plugin-paths', '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules', '--config-file', '/var/folders/g4/_k_n1bms29z0mswylc3wzy480000gn/T/build-1444835851685.json', '--no-banner' ] { env: { PATH: '/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/mysql/bin', ANALYTICS_SOURCE: 'studio', SHELL: '/bin/bash', APTANA_VERSION: '4.3.1.1442888904', JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home', STUDIO_NAME: 'Appcelerator Studio', JAVA_STARTED_ON_FIRST_THREAD_14935: '1', USER: 'PowerTop', LANG: 'en_US.UTF-8', STUDIO_VERSION: '4.3.1.201509302304', TMPDIR: '/var/folders/g4/_k_n1bms29z0mswylc3wzy480000gn/T/', PS1: '|@\e[1;31m\u\e[0m| => \e[1;32m\W\e[0m > ', SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.Q8xx59gIqY/Listeners', DISPLAY: '/private/tmp/com.apple.launchd.pzVQPzXKwN/org.macosforge.xquartz:0', XPC_FLAGS: '0x0', APP_ICON_14935: '../Resources/titanium.icns', __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x8', Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.aL9yLlo9mU/Render', LOGNAME: 'PowerTop', XPC_SERVICE_NAME: 'com.appcelerator.appcelerator-studio.57312', PWD: '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS', STUDIO_PRODUCT_ID: 'com.appcelerator.titanium.rcp.product', HOME: '/Users/PowerTop', SHLVL: '1', APPC_NPM_VERSION: '4.2.0', npm_config_cache: '/Users/PowerTop/.appcelerator/.npm', npm_config_prefix: '/Users/PowerTop/.appcelerator/.npm', APPC_INSTALL_DIR: '/Users/PowerTop/.appcelerator/install', APPC_INSTALL_BIN_DIR: '/Users/PowerTop/.appcelerator/install/5.0.3/package/bin/appc', APPC_CONFIG_PROXY: '', NODE_PATH: '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules:/Users/PowerTop/.appcelerator/cache/node_modules:', APPC_SUPPRESS_PROGRESS: 'true', APPC_REGISTRY_SERVER: 'https://software.appcelerator.com', APPC_SECURITY_SERVER: 'https://security.appcelerator.com', APPC_DASHBOARD_URL: 'https://platform.appcelerator.com', APPC_ENV: 'production', APPC_SESSION_TOKEN: 'd1c308bf17cd103771c8b907849a2b2c69375536%20O9iv%2BAX00Ax90Yf%2BxpMujV8NhF6L%2BHauPmSSUbv1W80xRjJ0QHCydrTs82XKZSnWaj5DjAQ7Nf%2FcM7l7POTqbrH5JmkDsz8bsbMk%2FFPuK9pz8U1WnZjmAO31mKT4VWobUBqVbXLSJEjE%2FhA0A2haWZd9t%2BiNMRK4weG%2BLDWDwcSejcqnT8HcfIPEWeobPCb7TGuSbo%2FtqFE62hk9dia0pU1K4ltmCMXmKLgRtk9U2%2BriaHP8owZQlRnQUjuPbLna2CIOiw5EpOE4Yq8%2F3GstlHcyV9oKU%2BmwfuyXuzZIHmKbgE%2BJJiXhIEsh%2Bc8%2F%2Btk5u2H%2BvDT91vNYPPu3%2BrR1OTm%2FlEcuj0imYtwQjPuqfsOu3eDoQi4JpATyPVjxZiSuKt4mjGy5AK2%2Bsz0vWhbEV214SGKYtV%2FwcLlKrhVaeEi64BvFZ04JrmFlAm4zIZ8QiF0AeoFn%2FS3sNon9MZiql7%2BqIBP6pH6vahq1J92syxvVNW8d6zBaMwsfR6%2BQw6E0LC4O4UYhAnmI67fpRPrV5U6WqxUUr0U5H7hHO9g4%2BYG1HaYGnJAvVj0o2nA14DpbAALAsHQDF5Ni%2FQIc2SzJih2kQt%2FHy0JCIZXNotLt5%2FYNEYAkWxhPKhaeh1NdEn6DiSDM0liIcYo11BAKvQw6gpj4C2YAqGbqavYlWJcp%2Fadknud53bY8%2BUZlyaSAOcbO7s6OVHPdoYknntonvbx%2BzEY%2FM7OAOe6r%2BxtEzLzKwgoQwA5SaUlGe4CJk6f6xm7xSeVOWCZqx1xPQrDF9euemw%3D%3D', APPC_SESSION_SID: 's%3Anzk_iRfne0eT3GkkN-sQwmfPCN5Vkhuj.WqVMmAUBz%2BabjqmjshpUcNYtntDwUyG7IlOemDwCtsE', APPC_SESSION_USERNAME: 'andrew@mokomonster.com', APPC_SESSION_ORGID: '100045100', APPC_SESSION_ENV: '{'name':'production','isProduction':true,'acsBaseUrl':'https://api.cloud.appcelerator.com','acsAuthBaseUrl':'https://secure-identity.cloud.appcelerator.com','nodeACSEndpoint':'https://admin.cloudapp-enterprise.appcelerator.com'}', APPC_SESSION_ENTITLEMENTS: '{'id':'54d8e47cce78815d81104cb1','name':'Developer','partners':['acs','analytics'],'supportLink':'https://community.appcelerator.com','users':{'min':1,'max':-1},'testingDevices':{'min':0,'max':0},'allowProduction':false,'arrowPublish':true,'nativeSDK':false,'insights':false,'apiRateMonthPerSeat':100000,'apiRateMinute':10,'pushRateMinute':10,'storageGBRateMonth':1,'eventRateMonthPerSeat':100000,'daysDataRetained':7,'maxOrganizations':1,'dateRangeLimit':7,'dateRangeCustom':true,'exportMetrics':false,'exportAcs':false,'paid':false,'containerPoints':1,'containerPointsPerSeat':0,'_version':1}', APPC_SUPPRESS_BANNER: 'true', ALLOY_PATH: '/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy' }, stdio: [ { _connecting: false, _handle: [Object], _readableState: [Object], readable: true, domain: null, _events: [Object], _maxListeners: 10, _writableState: [Object], writable: false, allowHalfOpen: false, onend: null, destroyed: false, bytesRead: 0, _bytesDispatched: 0, _pendingData: null, _pendingEncoding: '', fd: 0 }, { _connecting: false, _handle: [Object], _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: 10, _writableState: [Object], writable: true, allowHalfOpen: false, onend: null, destroyed: false, bytesRead: 0, _bytesDispatched: 4954, _pendingData: null, _pendingEncoding: '', read: null, _type: 'pipe', fd: 1, _isStdio: true, destroySoon: [Function], destroy: [Function] }, 'pipe' ] } Wed Oct 14 2015 10:17:54 GMT-0500 (CDT) Operating System Name = Mac OS X Version = 10.11 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.10.38 npm Version = 1.4.28 Titanium CLI CLI Version = 5.0.5 Titanium SDK SDK Version = 4.0.0.GA SDK Path = /Users/PowerTop/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA Target Platform = iphone Command /usr/local/bin/node /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform ios --log-level trace --sdk 4.0.0.GA --project-dir /Library/WebServer/Documents/MobileAPPs/justTesting --target simulator --ios-version 9.0 --device-family universal --deploy-type development --sim-type ipad --sim-version 9.0 --device-id 29803A2F-60B7-4B2D-8F28-98D26489093B --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 51790 --plugin-paths /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules --config-file /var/folders/g4/_k_n1bms29z0mswylc3wzy480000gn/T/build-1444835851685.json --no-banner [INFO] : Found Titanium plugin id=ti.alloy version=1.0 [INFO] : Deploy type: development [INFO] : Building for target: simulator [INFO] : Building using iOS SDK: 9.0 [INFO] : Building for iOS Simulator: iPad 2 [INFO] : Building for device family: universal [INFO] : Minimum iOS version: 7.0 [INFO] : Debugging disabled [INFO] : Profiler disabled [INFO] : Forcing rebuild: /Library/WebServer/Documents/MobileAPPs/justTesting/build/iphone/build-manifest.json does not exist [INFO] : Initiating prepare phase [INFO] : Found Alloy app in /Library/WebServer/Documents/MobileAPPs/justTesting/app [INFO] : Executing Alloy compile: /usr/local/bin/node /Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy compile /Library/WebServer/Documents/MobileAPPs/justTesting/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator --no-colors [INFO] : [config.json] regenerating CFG.js from config.json... [INFO] : ----- MVC GENERATION ----- [INFO] : [app.tss] global style processing... [INFO] : [global style] writing to cache... [INFO] : [index.xml] view processing... [INFO] : style: 'index.tss' [INFO] : view: 'index.xml' [INFO] : controller: 'index.js' [INFO] : created: 'Resources/iphone/alloy/controllers/index.js' [INFO] : created: 'Resources/iphone/alloy/styles/index.js' [INFO] : [INFO] : [INFO] : [app.js] Titanium entry point processing... [INFO] : created: 'Resources/iphone/app.js' [INFO] : [INFO] : ----- OPTIMIZING ----- [INFO] : - iphone/alloy.js [INFO] : - iphone/alloy/sync/localStorage.js [INFO] : - iphone/alloy/sync/properties.js [INFO] : - iphone/alloy/sync/sql.js [INFO] : [INFO] : Alloy compiled in 3.33715s [INFO] : Alloy compiler completed successfully [INFO] : Performing full rebuild [INFO] : Copying Xcode iOS files [INFO] : Creating Xcode project directory: /Library/WebServer/Documents/MobileAPPs/justTesting/build/iphone/justTesting.xcodeproj [INFO] : Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj [INFO] : Writing Xcode project configuration: project.xcconfig [INFO] : Writing Xcode module configuration: module.xcconfig [INFO] : Forcing rebuild: ApplicationDefaults.m has changed since last build [INFO] : Writing application defaults: /Library/WebServer/Documents/MobileAPPs/justTesting/build/iphone/Classes/ApplicationDefaults.m [INFO] : Initiating Xcode pre-compile phase [INFO] : Processing JavaScript files [INFO] : Processing Titanium namespace resources [INFO] : Invoking xcodebuild [INFO] : Finished building the application in 1m 40s 916ms [INFO] : Launching iOS Simulator [ERROR] : Project failed to build after 2m 24s 562ms [ERROR] : An error occurred running the iOS Simulator (ios-sim exit code 1) TRACE | titanium exited with exit code 1 ERROR | Error: ti run exited with error code 1 at ChildProcess. (/Users/PowerTop/.appcelerator/install/5.0.3/package/node_modules/appc-cli-titanium/plugins/run.js:89:66) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:820:12)

Expected Result

To run the app!

Comments

  1. Aminul Islam 2015-10-28

    Hi ,Thanks for your concern . I can't reproduce it .Could you please share with us your Xcode , CLI and TiSDK version ? Run this command: *appc ti info -t ios* If no issues detected, Manually launch the iOS Simulator, then from the iOS Simulator menu, select "Reset Content and Settings" I recommend you to clean and build apps using command: > *appc run* > iOS *My Test Environment*
       Appcelerator Studio, build: 5.1.0.201508271018
       Xcode: 7.0
       iOS 9
       Operating System
         Name                        = Mac OS X
         Version                     = 10.10.5
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       Node.js
         Node.js Version             = 0.10.37
         npm Version                 = 1.4.28
       Titanium CLI
         CLI Version                 = 5.0.5
       Titanium SDK
         SDK Version                 = 5.0.2.GA
         SDK Path                    = /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA
       Command
       
    Thanks

JSON Source