@@ -25,12 +25,12 @@ xcpretty:
25
25
# Build the project
26
26
build :
27
27
@echo " Building project..."
28
- xcodebuild -scheme overlord- app-ios -sdk iphonesimulator -configuration Debug build
28
+ xcodebuild -scheme app-ios -sdk iphonesimulator -configuration Debug build
29
29
30
30
# Clean the project
31
31
clean :
32
32
@echo " Cleaning project..."
33
- xcodebuild -scheme overlord- app-ios clean
33
+ xcodebuild -scheme app-ios clean
34
34
rm -rf build/
35
35
rm -rf DerivedData/
36
36
@@ -51,23 +51,23 @@ test: test-ios
51
51
test-ios : xcpretty
52
52
@echo " Running tests on iOS simulator..."
53
53
@if command -v xcpretty > /dev/null; then \
54
- xcodebuild test -scheme overlord- app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:overlord- app-iosTests | xcpretty || \
54
+ xcodebuild test -scheme app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:app-iosTests | xcpretty || \
55
55
echo " Error: Could not run tests on iPhone 16 Pro Max simulator. Please ensure it is available." ; \
56
56
else \
57
57
echo " xcpretty not available, running with standard output..." ; \
58
- xcodebuild test -scheme overlord- app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:overlord- app-iosTests || \
58
+ xcodebuild test -scheme app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:app-iosTests || \
59
59
echo " Error: Could not run tests on iPhone 16 Pro Max simulator. Please ensure it is available." ; \
60
60
fi
61
61
62
62
# Run UI tests (requires iOS simulator)
63
63
test-ui : xcpretty
64
64
@echo " Running UI tests on iOS simulator..."
65
65
@if command -v xcpretty > /dev/null; then \
66
- xcodebuild test -scheme overlord- app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:overlord- app-iosUITests | xcpretty || \
66
+ xcodebuild test -scheme app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:app-iosUITests | xcpretty || \
67
67
echo " Error: Could not run UI tests on iPhone 16 Pro Max simulator. Please ensure it is available." ; \
68
68
else \
69
69
echo " xcpretty not available, running with standard output..." ; \
70
- xcodebuild test -scheme overlord- app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:overlord- app-iosUITests || \
70
+ xcodebuild test -scheme app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:app-iosUITests || \
71
71
echo " Error: Could not run UI tests on iPhone 16 Pro Max simulator. Please ensure it is available." ; \
72
72
fi
73
73
@@ -78,4 +78,4 @@ test-all: test-ios test-ui
78
78
# Run tests with verbose output
79
79
test-verbose :
80
80
@echo " Running tests with verbose output..."
81
- xcodebuild test -scheme overlord- app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:overlord- app-iosTests
81
+ xcodebuild test -scheme app-ios -destination ' platform=iOS Simulator,name=iPhone 16 Pro Max' -only-testing:app-iosTests
0 commit comments