Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>

This commit is contained in:
Matt Bruce 2026-01-16 10:21:44 -06:00
parent c234214c90
commit b83b89b9ac

View File

@ -32,6 +32,17 @@ Run all tests from the package root:
swift test
```
### Xcode Command Line
For packages that use platform-specific features (like `WatchConnectivity`), use `xcodebuild`:
```bash
# Run on an available simulator (e.g., iPhone 16)
xcodebuild test -scheme LocalData -destination 'platform=iOS Simulator,name=iPhone 16'
# Or using the specific device ID
xcodebuild test -scheme LocalData -destination 'id=4BF0FAE0-8FC1-4E19-89F4-2EDF12A28847'
```
### Xcode Test Plans
For granular control (enabling/disabling specific tests or trying different configurations), use **Xcode Test Plans**: