Skip to content

Commit

Permalink
Merge pull request #197 from cashapp/entin/xcode-13
Browse files Browse the repository at this point in the history
Bump minimum Xcode version to 13.2.1
  • Loading branch information
NickEntin authored Jan 24, 2024
2 parents 60222bf + 601d40a commit 9dbc6ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ jobs:
ruby-version: '3.2.2'
- name: Bundle Install
run: bundle install --gemfile=Example/Gemfile
- name: Select Xcode Version (12.5.1)
run: sudo xcode-select --switch /Applications/Xcode_12.5.1.app/Contents/Developer
if: matrix.platform == 'iOS_14'
- name: Prepare Simulator Runtimes
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
- name: Pod Install
Expand Down Expand Up @@ -89,8 +86,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Select Xcode Version (12.5.1)
run: sudo xcode-select --switch /Applications/Xcode_12.5.1.app/Contents/Developer
- name: Prepare Simulator Runtimes
run: Scripts/github/prepare-simulators.sh ${{ matrix.platform }}
- name: Build
run: Scripts/build.swift spm ${{ matrix.platform }}
carthage:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ You can also run accessibility snapshot tests from Objective-C:

## Requirements

* Xcode 12.0 or later
* Xcode 13.2.1 or later
* iOS 13.0 or later

## Contributing
Expand Down
4 changes: 4 additions & 0 deletions Scripts/github/prepare-simulators.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ if [[ ${PLATFORMS[*]} =~ 'iOS_16' ]]; then
sudo ln -s /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 16.4.simruntime
fi

if [[ ${PLATFORMS[*]} =~ 'iOS_14' ]]; then
sudo ln -s /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 14.5.simruntime
fi

if [[ ${PLATFORMS[*]} =~ 'iOS_13' ]]; then
sudo ln -s /Applications/Xcode_11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\ 13.7.simruntime
fi
Expand Down

0 comments on commit 9dbc6ff

Please sign in to comment.