Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15741] iOS: Cannot launch iOS simulator with Xcode 5.1b4

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-02-20T00:55:54.000+0000
Affected Version/sn/a
Fix Version/s2014 Sprint 03, 2014 Sprint 03 API, Release 3.2.2, Release 3.3.0
ComponentsCLI, iOS
Labelsmodule_build, qe-3.2.0, qe-nfc, qe-testadded, triage
ReporterWilson Luu
AssigneeSabil Rahim
Created2013-11-18T21:54:42.000+0000
Updated2014-07-25T21:30:09.000+0000

Description

*Details:* Cannot launch simulator using xcode 5.1beta4 *Steps to reproduce:* 0. Download Xcode 5.1beta4 1. Create a Titanium project in either Studio or via CLI 2. In the project, run the following build command: "/usr/local/bin/titanium" "\-\-no-colors" "\-\-no-progress-bars" "\-\-no\-prompt" "build" "\-\-platform" "iphone" "\-\-sdk" "3.2.0.v20131117001643" "\-\-log-level" "trace" "\-\-target" "simulator" "\-\-device\-family" "universal" "\-\-ios\-version" "7.1" "\-\-sim-version" "7.1" "\-\-device-id" "iPhone Retina (3.5 inch)" "\-\-skip\-js\-minify" *Actual:* The app cannot be launched to simulator and the CLI returns: [ERROR] Project failed to build after 14s 561ms (see console.log for the trace logs). *Expected:* Should be able to install an app to simulator

Attachments

FileDateSize
console.log2013-11-18T21:54:42.000+00001443785

Comments

  1. Chris Barber 2013-11-18

    This is a bug with ios-sim, not the iOS build or run hook. When the run hook calls ios-sim to launch a 7.1 emulator, it returns an exit code 1 and the following to stderr:
       [DEBUG] Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The application that opened iOS Simulator failed to send all of the required information." UserInfo=0x7ffbc7805710 {NSLocalizedDescription=The application that opened iOS Simulator failed to send all of the required information., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
       
  2. Ingo Muschenetz 2013-12-07

    I did find one other post on the issue: https://groups.google.com/forum/#!msg/rubymotion/A_wFC3oYkso/7nTgiDIAgxYJ But no real information.
  3. Samuel Dowse 2014-02-04

    Xcode 5.1 beta 5 fails while "focusing the simulator".
    [INFO] :   Focusing the iOS Simulator
       [ERROR] :  Project failed to build after 1s 739ms
  4. Vishal Duggal 2014-02-14

    ios-sim https://github.com/appcelerator/ios-sim/pull/7 titanium_mobile master - https://github.com/appcelerator/titanium_mobile/pull/5350 3_2_X - https://github.com/appcelerator/titanium_mobile/pull/5351
  5. Wilson Luu 2014-02-20

    Closing ticket as fixed. We were able to launch iOS 7.1 simulators with Xcode 5.1 beta5. Tested on: Appcelerator Studio, build: 3.2.1.201402061120, 3.3.0.v20140214150951 SDK build: 3.2.2.v20140214120903 CLI: 3.2.1 Alloy: 1.3.1 Xcode: 5.1 beta 5 Devices: iphone simulators 7.1, ipad simulators 7.1
  6. Wilson Luu 2014-02-20

    Reopening ticket to update my comment.

JSON Source