[AC-20] Newly created sample app doesn't run
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-03T14:39:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator CLI |
Labels | alloy, alpha2, appc, cli, problemLogName, run |
Reporter | Fokke Zandbergen |
Assignee | Tony Lukasavage |
Created | 2015-01-31T10:56:22.000+0000 |
Updated | 2015-05-12T21:28:59.000+0000 |
Description
I used
appc new
to create a app+server project using the sample project. When trying to run the app, it mentions a problemLogName
a few times before stopping after the Alloy compiler completed successfully. I can't find the mentioned problemLogName
(appc-problem-24501.log
) anywhere.
Creating
≫ appc new
Appcelerator Command-Line Interface, version 0.1.94
Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.
*** Let's create an Appcelerator project! ***
? Do you need a mobile app, server, or both? App, Server
? Do you want to create a New Empty Project or a Sample Project? Sample Project
? What is the name of your project? test2
App:
? What type of app? Cross Platform Mobile App
? What's your application id (example: com.myapp)? nl.fokkezb.test2
Server:
? What type of server? API Builder Server (Build.API)
*** new completed. ***
Running
≫ appc run
Appcelerator Command-Line Interface, version 0.1.94
Copyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.
INFO | Sat Jan 31 2015 11:54:21 GMT+0100 (CET)
INFO | Operating System
INFO | Name = Mac OS X
INFO | Version = 10.10.2
INFO | Architecture = 64bit
INFO | # CPUs = 4
INFO | Memory = 17179869184
INFO | Node.js
INFO | Node.js Version = 0.10.33
INFO | npm Version = 2.1.17
INFO | Titanium CLI
INFO | CLI Version = 3.4.1
INFO | Titanium SDK
INFO | SDK Version = 3.5.0.GA
INFO | SDK Path = /Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.GA
INFO | Target Platform = iphone
INFO | Command
INFO | /usr/local/bin/node /Users/fokkezb/.appcelerator/install/0.1.94/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --no-banner --no-prompt --color true --config {"paths":{"hooks":["/Users/fokkezb/.appcelerator/install/0.1.94/package/node_modules/appc-cli-titanium/hook"]},"appc":{"filename":"/Users/fokkezb/.appcelerator/install/0.1.94/package/index.js","opts":{"server":"https://security.cloud.appcelerator.com","colors":true,"logLevel":"info","pluginPaths":"/Users/fokkezb/.appcelerator/install/0.1.94/package/node_modules","session":{"ipaddress":"10.0.1.7","registry":"https://software.appcelerator.com","username":"mail@fokkezb.nl","session":"PUvNdC+YLwx5n9R41iNLpxVfbgZPLFMlJ1iXRQAZNh2vKvDWAHCW4mVV1GCdmO2cpWGZBFh++RA50e9OggoCgdRuYRRd1gS9e9tf30C3vGSbjlOERKSgMeMULxBSnza4385w37+QILajmTjgArcQExSPQtBjczxSk4Uth4Vw5A7IEmTbtLAY+idctHIRgV/zIBNoYWRjDL8bB5dKTEG/w3pZasnh5okILilsWOPaXYNdDHoi08/igINdbb4tiAU+a5jXI9gXRFgO2TmubHSLezSApwG5ko1+WA033SUYXGgL5o5w+jje/l+7eNVvW/38ySw+ipgl3j0fzCPciLiajMywBrkgwGsy6saWR3e8RkH+UbsEDGI592eQ4tcV3XKMh6YaRVQM1q0KGnQ7shmrIzlN8gEoqPDU/4PvzhT56GWNgk9en4zmHgy5q7jx1MjIft2kGhliQCBrSaxr/Jcd4bQqzXwBLS99GunDAi25T3vYZpw3AkrRMDwWii4rnDgf36yNNVEQjU+apdMv/2ZQti3QhvyfP0ARpUl8pax+zuunoK40/Qn3+6Zpc9Feh0Y0uxApIOSykNzKxfAKNHMT70e1bDUZK5ihpXEJUkznAF1S8kazQIIaWEViH9Qz1jxT","nonce":"24ddd088fb78ef0e04c7dd1914ffc0ebf42fb337","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":"YfvyZcVy1mxrbN01jhJXJKNyZU8wsCahwvmtiiuK24OKqBnEmkQ6KJ%2FKtZBCTvnRA7GdS4Yu%2BkislLRgqsyDg4SJXmiFl2TGqPsNdQUZLWntTBTCN96KckXhqKuzBleLL7fQT26DoRCGizuKP0r5caCO%2BcNOHVdvsLGEGvNO%2B0c%3D","fingerprint":"12b070140ffb801413db35bd819f8e22d2a12b8a","fingerprint_description":"Mac OSX Serial Number: C02MP05QFH05","org_id":100000707,"expiry":1422786057463},"workspace":"/Users/fokkezb/dev/tests/Test/app"},"privateKey":"/Users/fokkezb/.appcelerator/.196fd35b51c3961222120dab2b07c9bca46422dd.pk"}} --colors true --log-level info --project-dir /Users/fokkezb/dev/tests/Test/app --platform ios
INFO | No device family specified, defaulting to universal
INFO | Found Titanium module id=ti.cloud version=3.2.7 platform=commonjs deploy-type=development path=/Users/fokkezb/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.7
INFO | Found Titanium plugin id=ti.alloy version=1.0
INFO | Deploy type: development
INFO | Building for target: simulator
INFO | Building using iOS SDK: 8.1
INFO | Building for iOS Simulator: iPhone 4s
INFO | Building for device family: universal
INFO | Minimum iOS version: 7.0
INFO | Debugging disabled
INFO | Profiler disabled
INFO | Forcing rebuild: /Users/fokkezb/dev/tests/Test/app/build/iphone/build-manifest.json does not exist
INFO | Initiating prepare phase
INFO | Found Alloy app in /Users/fokkezb/dev/tests/Test/app/app
INFO | Executing Alloy compile: /usr/local/bin/node /Users/fokkezb/.npm-packages/bin/alloy compile /Users/fokkezb/dev/tests/Test/app/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator --no-colors
INFO | [config.json] config.json unchanged, using cached config.json...
INFO | ----- MVC GENERATION -----
INFO | [global style] loading from cache...
INFO | [annotation.xml] view processing...
INFO | style: "annotation.tss"
INFO | view: "annotation.xml"
INFO | controller: "annotation.js"
INFO | created: "Resources/iphone/alloy/controllers/annotation.js"
INFO | created: "Resources/iphone/alloy/styles/annotation.js"
INFO | [directory.xml] view processing...
INFO | style: "directory.tss"
INFO | view: "directory.xml"
INFO | controller: "directory.js"
INFO | created: "Resources/iphone/alloy/controllers/directory.js"
INFO | created: "Resources/iphone/alloy/styles/directory.js"
INFO | [directoryRow.xml] view processing...
INFO | style: "directoryRow.tss"
INFO | view: "directoryRow.xml"
INFO | controller: "directoryRow.js"
INFO | created: "Resources/iphone/alloy/controllers/directoryRow.js"
INFO | created: "Resources/iphone/alloy/styles/directoryRow.js"
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 | [loader.xml] view processing...
INFO | style: "loader.tss"
INFO | view: "loader.xml"
INFO | controller: "loader.js"
INFO | created: "Resources/iphone/alloy/controllers/loader.js"
INFO | created: "Resources/iphone/alloy/styles/loader.js"
INFO | [profile.xml] view processing...
INFO | style: "profile.tss"
INFO | view: "profile.xml"
INFO | controller: "profile.js"
INFO | created: "Resources/iphone/alloy/controllers/profile.js"
INFO | created: "Resources/iphone/alloy/styles/profile.js"
INFO | { problemLogName: 'appc-problem-24501.log' }
INFO | [app.js] using cached app.js...
INFO | { problemLogName: 'appc-problem-24501.log' }
INFO | ----- OPTIMIZING -----
INFO | - iphone/alloy.js
INFO | - iphone/utilities.js
INFO | - iphone/alloy/sync/localStorage.js
INFO | - iphone/alloy/sync/properties.js
INFO | - iphone/alloy/sync/sql.js
INFO | { problemLogName: 'appc-problem-24501.log' }
INFO | Alloy compiled in 0.71093s
INFO | Alloy compiler completed successfully
(~/dev/tests/Test/app)--(3.5.0.GA‡1.5.1)
≫ ls -al
total 696
drwxr-xr-x 15 fokkezb staff 510 Jan 31 11:28 .
drwxr-xr-x 5 fokkezb staff 170 Jan 31 11:27 ..
-rw-r--r-- 1 fokkezb staff 87 Jan 31 11:27 .gitignore
-rw-r--r-- 1 fokkezb staff 11491 Jan 31 11:27 LICENSE
-rw-r--r-- 1 fokkezb staff 110050 Jan 31 11:27 MarketplaceArtwork.png
-rw-r--r-- 1 fokkezb staff 551 Jan 31 11:27 README
-rw-r--r-- 1 fokkezb staff 5018 Jan 31 11:27 README.md
drwxr-xr-x 8 fokkezb staff 272 Jan 31 11:28 Resources
drwxr-xr-x 12 fokkezb staff 408 Jan 31 11:27 app
drwxr-xr-x 6 fokkezb staff 204 Jan 31 11:28 build
drwxr-xr-x 4 fokkezb staff 136 Jan 31 11:27 i18n
-rw-r--r-- 1 fokkezb staff 211013 Jan 31 11:27 iTunesConnect.png
drwxr-xr-x 3 fokkezb staff 102 Jan 31 11:27 platform
drwxr-xr-x 3 fokkezb staff 102 Jan 31 11:27 plugins
-rw-r--r-- 1 fokkezb staff 3731 Jan 31 11:27 tiapp.xml
The problem log info is just telling you the name the problem log would have if it needed to generate one. We should hide that as a debug or trace message probably. If there's no problem log file in your local directory, you shouldn't have to worry about one. Can you run this again with the
-l trace
option and report the details here? It looks like it's just stopping after the alloy compile, but perhaps the trace log will give us more info.Of course:
The mentioned build file is empty. The full log:
Can you paste in the whole log, right from the beginning? There might be more in there I can work with.
also, what happens if you do
appc ti build
Works fine. Need remote access?
Interesting, I managed to reproduce it by using TiSDK 3.5.0.GA. It does, however, work for me if I change it to 3.4.1.GA in the tiapp.xml and setting it to the selected SDK
ti sdk select 3.4.1.GA
. [~fokke], can you try it with 3.4.1.GA just to confirm my suspicions that this is specific to the TiSDK version?FIx is in place, new version of appc cli will be available soon. In the meantime, using 3.4.1 SDK is a workaround.
So no need to confirm? thanks!
Resolved in appcelerator 0.1.95
Closing as fixed.