GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-04-04T00:18:36.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | CLI, iOS |
Labels | SupportTeam, module_titanium, qe-cli100112, qe-ios100112, qe-testadded, regression |
Reporter | Dustin Hyde |
Assignee | Chris Barber |
Created | 2012-12-14T23:58:32.000+0000 |
Updated | 2013-04-04T00:43:34.000+0000 |
Simulator crashes on launch for newly created project.
Resetting simulator fixes problem. iOS Simulator > Reset Content and Settings...
Does not occur in SDK 2.1.4.GA, or iOS Simulator 5.1.
Error:
[ERROR] An error occurred running the iOS Simulator
[ERROR] [DEBUG] Sessiocould not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "iOS Simulator failed to install the application." UserInfo=0x101c01930 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
Steps to Reproduce:
1. Create New Titanium Project.
2. Run in iPhone Simulator 6.0.
Actual Result:
Crash.
Expected Result:
Run.
I had this happen to me tonight. It has something to do with the app name. Not sure if it's bad characters in the name, changing the name and rebuilding, not doing a clean, or something. I fixed it by resetting my iOS simulator.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797
To test: 1) create a project 2) create a folder in the Resources folder called "Resources" 3) build the app for ios simulator: before fix ios simulator launcher would crash, after fix the build gracefully errors out 4) change the Resources/Resources folder to Resources/Frameworks 5) build the app for ios simulator: before fix ios sim would launch, but would be rejected by app store, after fix a warning is displayed
Closing. Tested and verified fix with: Mac OSX 10.8.2 Mountain Lion Xcode 4.5.2 CLI version 3.0.23 Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.0.2.v20130126230207 Titanium SDK, build: 3.1.0.v20130127225819 iPhone 6.0 Simulator iPad 6.0 Simulator After step 3 the build gracefully errors out After step 5 a warning is displayed. [WARN] : The directory "Frameworks" is potentially a reserved word. [WARN] : There is a good chance your app will be rejected by the Apple. [WARN] : It is highly recommended you rename this directory to something else.
There was a small typo: Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3807 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3808
This issue has again come up in the builds which came after the one it is verified in.Even rebuilding and project clean do not work. Resetting the iOS simulator works for one time only. If project is run for second time, the same error occurs. Occurs on: Titanium SDK: 3.0.2.v20130207164659 Titanium SDK: 3.0.2.v20130201161712 Titanium SDK: 3.0.2.v20130128174806 Titanium Studio:3.0.2.201301251115
works fine with: Titanium Studio, build: 3.0.2.201302041757 Titanium SDK, build: 3.0.2.v20130207164659 iOS 6.0 Simulator Xcode 4.6
I am unable to reproduce with: CLI: 3.0.24-cr CLI active SDK: 3.0.2.v20130207164659 Titanium SDK version 3.0.2.v20130207164659 Titanium Studio, build: 3.0.2.201302041757 Mac OS 10.8.2 Xcode 4.6 / iOS 6.1 compile target
After speaking with Eric, re-resolving as fixed. Please reopen if it occurs again.
Tested with: Titanium Studio, build: 3.0.2.201302151605 Titanium SDK, build: 3.0.2.v20130215190201 iOS 6.0 Simulator CLI 3.0.24-cr *Actual result == Expected* After step3: The directory "Resources" is a reserved word. You must rename this directory to something else. [ERROR] : Found blacklisted directory in the Resources directory After step5: [WARN] : Found graylisted directory in the Resources directory [WARN] : The directory "Frameworks" is potentially a reserved word. [WARN] : There is a good chance your app will be rejected by Apple. [WARN] : It is highly recommended you rename this directory to something else.
Re-opening to edit label
Closing based on QE comments.