Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24525] ioslib: Error detecting simulators when Xcode is not installed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-04-10T15:39:57.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0, ioslib 1.2.1
ComponentsiOS, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2017-03-21T17:56:09.000+0000
Updated2017-05-05T18:33:03.000+0000

Description

When running ti info or doing an Android build on macOS while Xcode is not installed, ioslib throws an error. It should not error and just return no simulators found if Xcode is not installed.

Comments

  1. Chris Barber 2017-03-21

    ioslib PR: https://github.com/appcelerator/ioslib/pull/55
  2. Chris Barber 2017-03-21

    Titanium SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8900
  3. Abir Mukherjee 2017-05-05

    Tested with this environment: Node Version: 6.10.1 NPM Version: 3.10.10 Mac OS: 10.12.4 Appc CLI: 6.2.0 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.0.v20170504175418 I uninstalled XCode from my Mac, and executed "ti info" with SDK 6.0.4.GA and reproduced the original bug. I then switched to SDK 6.1.0, executed the same "ti info" command, and saw the following in the output:
       iOS Issues
         ✕  No Xcode installations found.
            You can download it from the App Store or from https://developer.apple.com/xcode/.
       
    The fix is verified.

JSON Source