Skip to content

Commit c71a9dd

Browse files
author
greweb
committed
Debug iOS applesimutils installation - list archive contents
- Add ls -la and find commands to see what's actually in the extracted archive - This will help us understand the correct directory structure
1 parent 1e6dc23 commit c71a9dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,8 +524,12 @@ 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-
# The archive contains a directory, navigate to it
528-
cd AppleSimulatorUtils-0.9.6
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)
529533
# Use the default Xcode path (don't override it)
530534
xcodebuild -project AppleSimulatorUtils.xcodeproj -scheme AppleSimulatorUtils -configuration Release -derivedDataPath ./build clean build
531535
sudo cp ./build/Build/Products/Release/applesimutils /usr/local/bin/

0 commit comments

Comments
 (0)