Skip to content

Commit 3ac03f9

Browse files
author
greweb
committed
Fix iOS applesimutils installation - correct project path and name
- Navigate to ./applesimutils/ directory (not AppleSimulatorUtils-0.9.6) - Use correct project name: applesimutils.xcodeproj (not AppleSimulatorUtils.xcodeproj) - Use correct scheme name: applesimutils (not AppleSimulatorUtils) - This should finally resolve the iOS Detox installation
1 parent c71a9dd commit 3ac03f9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -524,14 +524,10 @@ jobs:
524524
run: |
525525
# Install applesimutils from GitHub (brew formula doesn't exist)
526526
curl -L https://github.com/wix/AppleSimulatorUtils/releases/download/0.9.6/AppleSimulatorUtils-0.9.6.tar.gz | tar -xz
527-
# List contents to see what was extracted
528-
ls -la
529-
# Find the project file
530-
find . -name "*.xcodeproj" -type d
531-
# Navigate to the directory containing the project
532-
cd $(find . -name "*.xcodeproj" -type d | head -1 | xargs dirname)
527+
# Navigate to the applesimutils directory (the project is in ./applesimutils/)
528+
cd applesimutils
533529
# Use the default Xcode path (don't override it)
534-
xcodebuild -project AppleSimulatorUtils.xcodeproj -scheme AppleSimulatorUtils -configuration Release -derivedDataPath ./build clean build
530+
xcodebuild -project applesimutils.xcodeproj -scheme applesimutils -configuration Release -derivedDataPath ./build clean build
535531
sudo cp ./build/Build/Products/Release/applesimutils /usr/local/bin/
536532
537533
- name: Build library

0 commit comments

Comments
 (0)