mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-25 09:25:50 +00:00
- Add VibeTunnelTests target to Xcode project - Configure test target for iOS 18.0 deployment - Enable Swift Testing framework in build settings - Create proper test scheme for running tests - Add helper script for running tests via xcodebuild Tests should now be run through Xcode (Cmd+U) on iOS simulators, not via swift test which incorrectly runs them on macOS.
18 lines
No EOL
372 B
Bash
Executable file
18 lines
No EOL
372 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Run iOS tests using Xcode
|
|
# This properly runs the tests in an iOS environment
|
|
|
|
set -e
|
|
|
|
echo "Running iOS tests using Xcode..."
|
|
|
|
# Run tests for iOS simulator
|
|
xcodebuild test \
|
|
-project VibeTunnel.xcodeproj \
|
|
-scheme VibeTunnel \
|
|
-destination 'platform=iOS Simulator,name=iPhone 15,OS=18.0' \
|
|
-quiet \
|
|
| xcpretty
|
|
|
|
echo "Tests completed!" |