Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Todo List sample application doesn't run on iPhone simulator

$
0
0

I'm using a MacBook Pro with the latest and greatest - OS X 10.8.4, latest official Xcode (4.6.3), Titanium Studio 3.1.1. I imported the "Todo List" sample application. It works fine in the Android emulator and as a mobile web application. Now when I want to run it in the iPhone Simulator, then the simulator launches briefly and then shuts down immediately. In Titanium Studio, I get this error:

[ERROR] :  An error occurred running the iOS Simulator
[ERROR] :  [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Unknown error." UserInfo=0x7fcf1a4020a0 {NSLocalizedDescription=Unknown error., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
The OS X console has these errors:
2013-07-25 9:27:00.188  com.apple.launchd.peruser.501[212]: (com.apple.iPhoneSimulator:com.apple.backboardd) Unknown key for boolean: HighPriorityIO
2013-07-25 9:27:00.188  com.apple.launchd.peruser.501[212]: (com.apple.iPhoneSimulator:com.apple.backboardd) This key is not supported on this platform: EmbeddedPrivilegeDispensation
2013-07-25 9:27:00.188  com.apple.launchd.peruser.501[212]: (com.apple.iPhoneSimulator:com.apple.BTServer) Unknown key for boolean: HopefullyExitsFirst
2013-07-25 9:27:00.191  com.apple.launchd.peruser.501[212]: (com.apple.iPhoneSimulator:com.apple.passd) Unknown key for boolean: CFBundleAllowMixedLocalizations
2013-07-25 9:27:02.653  iPhone Simulator[30282]: Performance: Please update this scripting addition to supply a value for ThreadSafe for each event handler: "/Library/ScriptingAdditions/SIMBL.osax"
2013-07-25 9:27:05.007  com.apple.launchd.peruser.501[212]: ([0x0-0x957957].com.apple.iphonesimulator[30282]) Exited abnormally: Interrupt: 2
2013-07-25 9:27:05.074  com.apple.launchd.peruser.501[212]: (com.apple.iPhoneSimulator:com.apple.locationd[30300]) Exited with code: 1
My own native iOS apps work fine in the simulator.

Now when I run the generated Xcode project from the "build/iphone" folder directly in Xcode, then I get an error screen, complaining about the missing "app.js" file, and see this error in the Xcode output:

[DEBUG] Loading: /Users/Karsten/Library/Application Support/iPhone Simulator/6.1/Applications/E6807894-361A-47AA-B329-3CB10DB99CAE/Todo List.app/app.js, Resource: app_js
[ERROR] Error loading path: file://localhost/Users/Karsten/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/E6807894-361A-47AA-B329-3CB10DB99CAE/Todo%20List.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 "The operation couldn’t be completed. (Cocoa error 260.)" UserInfo=0xa855210 {NSFilePath=/Users/Karsten/Library/Application Support/iPhone Simulator/6.1/Applications/E6807894-361A-47AA-B329-3CB10DB99CAE/Todo List.app/app.js, NSUnderlyingError=0xa852c40 "The operation couldn’t be completed. No such file or directory"}
How can I get the "Todo List" app to run in the iPhone Simulator?

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>