Skip to content

Commit 135c79c

Browse files
authored
Update 16pro.yml
1 parent e2f9ffd commit 135c79c

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

.github/workflows/16pro.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,22 @@
1-
name: Use Xcode 16.2 and Reproduce Simulator Issue
1+
name: Reproduce Fastlane Simulator Bug
22

33
on:
44
workflow_dispatch:
55

66
jobs:
7-
test-xcode-16_2:
7+
test-fastlane:
88
runs-on: macos-14
9-
109
steps:
11-
- name: Switch to Xcode 16.2
10+
- name: 🛠 Set up Xcode 16.2
1211
run: |
1312
sudo xcode-select -s /Applications/Xcode_16.2.app
1413
xcodebuild -version
1514
16-
- name: List all available simulators
17-
run: |
18-
echo "Available simulators:"
19-
xcrun simctl list devices
15+
- name: 📱 List Simulators
16+
run: xcrun simctl list devices
2017

21-
- name: Find and boot iPhone 16 Pro simulator
18+
- name: 🚀 Run Fastlane Scan on iPhone 16 Pro
2219
run: |
23-
echo "Searching for iPhone 16 Pro simulator..."
24-
DEVICE_ID=$(xcrun simctl list devices | grep 'iPhone 16 Pro' | grep -v unavailable | awk -F '[()]' '{print $2}' | head -n 1)
25-
echo "Found device ID: $DEVICE_ID"
26-
27-
if [ -z "$DEVICE_ID" ]; then
28-
echo "❌ ERROR: Could not find iPhone 16 Pro simulator"
29-
exit 1
30-
fi
31-
32-
echo "✅ Booting simulator with ID $DEVICE_ID"
33-
xcrun simctl boot "$DEVICE_ID" || echo "⚠️ Failed to boot, might already be booted"
34-
xcrun simctl list | grep Booted
20+
which bundle || gem install bundler
21+
bundle install || gem install fastlane
22+
fastlane run scan device:"iPhone 16 Pro"

0 commit comments

Comments
 (0)