[TIMOB-28531] iOS: Simulator build does not error correctly if EULA is not accepted
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-10-06T13:08:23.000+0000 |
Affected Version/s | Release 10.1.0, Release 10.0.2 |
Fix Version/s | Release 10.1.1 |
Components | CLI, iOS |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2021-09-07T20:49:34.000+0000 |
Updated | 2021-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
JSON Source
This is not an issue for 10.1.0 as it's existed for a while
https://github.com/appcelerator/ioslib/pull/213
This was backported onto the 10_1_X branch