Switch to Xcode 15 (with the iOS 16.4 Simulator for tests still) (#2113)

* Use Xcode 15 in GitHub actions.

Use iOS 16.4 simulators from Xcode 14 as iOS 17.0.1 simulators are **super** slow.

* Fix failing preview snapshots.

Snapshot fix.

* Improve setup

* Regenerate snapshots that had a conflict.

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
This commit is contained in:
Doug
2023-11-21 16:25:18 +00:00
committed by GitHub
parent efef5444b5
commit b45fdf54ca
68 changed files with 163 additions and 134 deletions

View File

@@ -38,6 +38,13 @@ jobs:
- name: SwiftFormat
run:
swiftformat --lint .
- name: Link to 16.4 Simulators
run: |
echo "Creating Runtimes folder if needed..."
sudo mkdir -p /Library/Developer/CoreSimulator/Profiles/Runtimes
echo "Creating symlink of the iOS 16.4 runtime..."
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
- name: Run tests
run: bundle exec fastlane unit_tests