Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12103] iOS: Simulator 6.0: Sessiocould not be started crash on launch on some machines

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-04-04T00:18:36.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI, iOS
LabelsSupportTeam, module_titanium, qe-cli100112, qe-ios100112, qe-testadded, regression
ReporterDustin Hyde
AssigneeChris Barber
Created2012-12-14T23:58:32.000+0000
Updated2013-04-04T00:43:34.000+0000

Description

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.

Attachments

FileDateSize
console-log.txt2012-12-14T23:58:32.000+00004994165

Comments

  1. Chris Barber 2012-12-22

    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.
  2. Chris Barber 2013-01-26

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797
  3. Chris Barber 2013-01-26

    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
  4. Olga Romero 2013-01-28

    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.
  5. Chris Barber 2013-01-28

    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
  6. Shyam Bhadauria 2013-02-12

    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
  7. Olga Romero 2013-02-12

    works fine with: Titanium Studio, build: 3.0.2.201302041757 Titanium SDK, build: 3.0.2.v20130207164659 iOS 6.0 Simulator Xcode 4.6
  8. Eric Merriman 2013-02-13

    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
  9. Ingo Muschenetz 2013-02-13

    After speaking with Eric, re-resolving as fixed. Please reopen if it occurs again.
  10. Olga Romero 2013-02-19

    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.
  11. Shyam Bhadauria 2013-02-20

    Re-opening to edit label
  12. Ingo Muschenetz 2013-04-04

    Closing based on QE comments.

JSON Source