Skip to content

Commit 6f26354

Browse files
committed
Fix script
1 parent 623abe3 commit 6f26354

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ios-tests.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,27 @@ jobs:
4545
- name: Clean Derived Data
4646
run: rm -rf ~/Library/Developer/Xcode/DerivedData
4747

48+
- name: Debug directory structure
49+
run: |
50+
echo "Contents of root directory:"
51+
ls -la
52+
echo "Contents of Example directory:"
53+
ls -la Example/
54+
echo "Looking for workspace files:"
55+
find . -name "*.xcworkspace" -type d
56+
4857
- name: List available schemes
4958
working-directory: Example
5059
run: |
60+
echo "Current directory contents:"
61+
ls -la
5162
echo "Available schemes:"
52-
xcodebuild -workspace Cloudinary.xcworkspace -list
63+
if [ -d "Cloudinary.xcworkspace" ]; then
64+
xcodebuild -workspace Cloudinary.xcworkspace -list
65+
else
66+
echo "Cloudinary.xcworkspace not found, trying alternative paths..."
67+
find . -name "*.xcworkspace" -type d
68+
fi
5369
5470
- name: Install Pods
5571
working-directory: Example

0 commit comments

Comments
 (0)