Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15601] CLI: Error, focusing the iOS Simulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-05T23:47:08.000+0000
Affected Version/sRelease 3.2.0
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0
ComponentsCLI, iOS
Labelsappcelerator_smoke, qe-3.2.0, qe-closed-3.2.0, qe-manualtest
ReporterOlga Romero
AssigneeChris Barber
Created2013-10-29T00:15:03.000+0000
Updated2014-08-12T01:32:30.000+0000

Description

Project failed to launch on Simulator, although Simulator focused and timed out with the error:
[ERROR] An error occurred running the iOS Simulator
[ERROR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=2 "Simulator session timed out." UserInfo=0x7ffe49e18c10 {NSLocalizedDescription=Simulator session timed out.}
[ERROR]   
[ERROR] Project failed to build after 1m 31s 677ms

Attachments

FileDateSize
log.rtf2013-10-29T00:15:03.000+000016654

Comments

  1. Chris Barber 2013-10-29

    This should be fixed now in master.
  2. Olga Romero 2013-10-30

    Tested and verified the fix with: Mac osx 10.9 Mavericks Titanium Studio, build: 3.2.0.201310300119 Titanium SDK, build: 3.2.0.v20131029150357 Xcode 5.0
       ti build "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "ipad" "--sdk" "3.2.0.v20131029150357" "--log-lev" "trace" "--target" "simulator" "--ios-version" "7.0.3" "--sim-version" "7.0.3" "--device-family" "ipad" "--skip-js-minify"
       
  3. Olga Romero 2013-11-01

    Reopened due to original issue reproduction with: Titanium Studio, build: 3.2.0.201310312257 Titanium SDK, build: 3.2.0.v20131101124843
       [INFO]  Focusing the iOS Simulator
       [ERROR] An error occurred running the iOS Simulator
       [ERROR] [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "iOS Simulator failed to install the application." UserInfo=0x7ff70be0c770 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
       [ERROR]   
       [ERROR] Project failed to build after 10s 508ms
       
    I will revisit it as soon, as merge is made.
  4. Chris Barber 2013-11-02

    [~oromero] The merge is in, please retest and resolve if it's working.
  5. Olga Romero 2013-11-05

    Working now:) Tested and verified iOS Simulator focus and launch with: CLI 3.2.0 Titanium SDK, build: 3.2.0.v20131105094044 Xcode 5.0 using command ti build -p ios -T simulator

JSON Source