Update iOS Xcode prerequisite checks

This commit is contained in:
Mikhail Kilin
2026-05-20 16:14:17 +03:00
parent e5d0f2c064
commit 6576a37198
5 changed files with 29 additions and 8 deletions

View File

@@ -15,8 +15,15 @@ cd apps/ios/TeleTuiIOS
swift run TeleTuiIOSSmokeTests
```
Simulator/device build is currently blocked on this machine because `xcodebuild -version` fails with:
Simulator/device build is currently blocked until the Xcode license is accepted.
Xcode is installed at `/Applications/Xcode.app`, and `DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -version` reports Xcode 26.5, but `xcrun simctl` fails with:
```text
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
You have not agreed to the Xcode license agreements. Please run 'sudo xcodebuild -license' from within a Terminal window to review and agree to the Xcode and Apple SDKs license.
```
After accepting the license, verify local iOS tooling with:
```bash
DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer scripts/check-ios-prereqs.sh
```