Update 16pro.yml

This commit is contained in:
sangeeths03
2025-05-13 12:13:50 +05:30
committed by GitHub
parent 135c79c303
commit 2095743590
+30 -12
View File
@@ -1,22 +1,40 @@
name: Reproduce Fastlane Simulator Bug name: Reproduce iPhone 16 Pro Emulator Issue
on: on: [push] # Or any other trigger
workflow_dispatch:
jobs: jobs:
test-fastlane: test_simulator:
runs-on: macos-14 runs-on: macos-14 # Specify the problematic image
steps: steps:
- name: 🛠 Set up Xcode 16.2 - name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Xcode 16.2
run: | run: |
sudo xcode-select -s /Applications/Xcode_16.2.app sudo xcode-select -s /Applications/Xcode_16.2.app # Assuming Xcode 16.2 is pre-installed in the image
xcodebuild -version xcodebuild -version
- name: 📱 List Simulators - name: List Available Simulators (Confirm Presence)
run: xcrun simctl list devices run: xcrun simctl list devices
- name: 🚀 Run Fastlane Scan on iPhone 16 Pro - name: Install Fastlane (if not already present)
run: | run: |
which bundle || gem install bundler brew install ruby # Or your preferred Ruby installation method
bundle install || gem install fastlane gem install fastlane -NV
fastlane run scan device:"iPhone 16 Pro"
- name: Attempt to Run Fastlane Scan (Reproduce Error)
run: |
# Create a minimal Fastfile for testing
mkdir -p fastlane
cat > fastlane/Fastfile <<EOF
default_platform(:ios)
platform :ios do
desc "Run tests"
lane :scan_test do
scan(device: "iPhone 16 Pro")
end
end
EOF
bundle exec fastlane scan_test || true # Allow the step to fail and show the error