Change iOS Simulator destination to iPhone SE #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: iOS CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Select Xcode version | |
| run: sudo xcode-select -switch /Applications/Xcode.app | |
| - name: Build project | |
| run: | | |
| xcodebuild clean build \ | |
| -project "Leaf Lens.xcodeproj" \ | |
| -scheme "Leaf Lens" \ | |
| -destination 'platform=iOS Simulator,name=iPhone SE (3rd generation)' |