Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix ios runners #22

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 13 additions & 23 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,36 +41,32 @@ jobs:

node-version: 16

# > Starting April 26, 2021, all iOS and iPadOS apps submitted to the App Store must be built with Xcode 12 and the iOS 14 SDK.
# iOS and iPadOS apps submitted to the App Store must be built with Xcode 15 and the iOS 17 SDK.
# Because of Apple's requirement, listed above, We will only be using the latest Xcode release for testing.
# To customize these options, add "xcode-version" to the strategy matrix with its overriding value.
default_xcode-version: latest-stable

strategy:
matrix:
versions:
- os-version: macos-10.15
ios-version: 12.x
xcode-version: 11.x

- os-version: macos-10.15
ios-version: 13.x
xcode-version: 11.x

- os-version: macos-10.15
- os-version: macos-14
ios-version: 14.x
xcode-version: 12.x

- os-version: macos-11
xcode-version: 15.x
- os-version: macos-14
ios-version: 15.x
xcode-version: 13.x
xcode-version: 15.x

- os-version: macos-14
ios-version: 16.x
xcode-version: 15.x

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
- uses: maxim-lobanov/setup-xcode@881be567d30efed8fb3f12b5099d68c3fb72aa3d
- uses: maxim-lobanov/setup-xcode@7f352e61cbe8130c957c3bc898c4fb025784ea1e
env:
xcode-version: ${{ matrix.versions.xcode-version == '' && env.default_xcode-version || matrix.versions.xcode-version }}
with:
Expand All @@ -87,12 +83,6 @@ jobs:
npm i -g cordova@latest ios-deploy@latest
npm ci

- name: Run setup iOS 12.x support
if: ${{ matrix.versions.ios-version == '12.x' }}
run: |
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
sudo ln -s /Applications/Xcode_10.3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 12.4.simruntime

- name: Run paramedic install
if: ${{ endswith(env.repo, '/cordova-paramedic') != true }}
run: npm i -g github:apache/cordova-paramedic
Expand Down
Loading