Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28531] iOS: Simulator build does not error correctly if EULA is not accepted

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2021-10-06T13:08:23.000+0000
Affected Version/sRelease 10.1.0, Release 10.0.2
Fix Version/sRelease 10.1.1
ComponentsCLI, iOS
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2021-09-07T20:49:34.000+0000
Updated2021-11-17T10:47:05.000+0000

Description

Description

*This is not a regression caused by Xcode 13, has probably been this way since simulator detection last changed* When building an app to simulator and the Xcode EULA hasn't been expected the CLI errors incorrectly with [ERROR] Unable to find an iOS Simulator running iOS 15.0. however it should error that the EULA is not accepted.

Steps to reproduce

1. Unaccept the EULA by removing /Library/Preferences/com.apple.dt.Xcode.plist or ~/Library/Preferences/com.apple.dt.Xcode.plist (or maybe both) 2. Build for simulator

Actual

Errors that it cant find the right simulator

Expected

Errors that EULA is not accepted

Comments

  1. Ewan Harris 2021-09-07

    This is not an issue for 10.1.0 as it's existed for a while
  2. Ewan Harris 2021-09-08

    https://github.com/appcelerator/ioslib/pull/213
  3. Ewan Harris 2021-10-08

    This was backported onto the 10_1_X branch

JSON Source