File tree Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Expand file tree Collapse file tree 1 file changed +9
-21
lines changed Original file line number Diff line number Diff line change 1
- name : Use Xcode 16.2 and Reproduce Simulator Issue
1
+ name : Reproduce Fastlane Simulator Bug
2
2
3
3
on :
4
4
workflow_dispatch :
5
5
6
6
jobs :
7
- test-xcode-16_2 :
7
+ test-fastlane :
8
8
runs-on : macos-14
9
-
10
9
steps :
11
- - name : Switch to Xcode 16.2
10
+ - name : 🛠 Set up Xcode 16.2
12
11
run : |
13
12
sudo xcode-select -s /Applications/Xcode_16.2.app
14
13
xcodebuild -version
15
14
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
20
17
21
- - name : Find and boot iPhone 16 Pro simulator
18
+ - name : 🚀 Run Fastlane Scan on iPhone 16 Pro
22
19
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"
You can’t perform that action at this time.
0 commit comments