Skip to content

[AUTOMATIC] Release/4.12.1#1923

Merged
NachoSoto merged 5 commits into
mainfrom
release/4.12.1
Sep 23, 2022
Merged

[AUTOMATIC] Release/4.12.1#1923
NachoSoto merged 5 commits into
mainfrom
release/4.12.1

Conversation

@revenuecat-ops

@revenuecat-ops revenuecat-ops commented Sep 21, 2022

Copy link
Copy Markdown
Collaborator

This is an automatic release.

Bugfixes

Other Changes

@NachoSoto

Copy link
Copy Markdown
Contributor

Updating the header failed: https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/8160/workflows/c7a36695-1b99-4b15-bc75-a45acbeb300e/jobs/37697
If we're running that on Xcode 14 building for macOS that's not going to work.

@NachoSoto

Copy link
Copy Markdown
Contributor

Failures fixed by #1927.

@NachoSoto

NachoSoto commented Sep 22, 2022

Copy link
Copy Markdown
Contributor

I cherry-picked 86db796, 9ca329e, and 30b9670 in here.

NachoSoto and others added 3 commits September 23, 2022 10:32
Turns out we hadn't been running tests on `tvOS` for a while:
> [19:08:22]: Couldn't find any matching simulators for '["Apple TV
(15.2)"]' - falling back to default simulator
> [19:08:22]: Found simulator "iPhone 13 Pro (15.5)"

I found this went I went to dig into [this
failure](#1926 (comment)).
Turns out that wasn't running on `tvOS` anyway.

This turns them back on, fixes the compilation issues on `tvOS` tests,
and ensures that we don't run into this issue again.

### Changes:
- Renamed device in lane `test_tvos`
- Enabled `ensure_devices_found` on `iOS` and `tvOS` lanes. This will
also ensure that we don't stop running tests on iOS XX because it
doesn't find that simulator.
- Removed `UnitTestHostApp` storyboards and scene, since those aren't
supported in `tvOS`, and aren't needed because there's no UI.
- Made `StoreKitUnitTests` and `UnitTestHostApp` targets universal
- No longer linking `AdServices` on `tvOS` in test targets
- Disabled attribution tests on `tvOS`. Those methods weren't being
compiled, but we were testing that a message was being sent, even though
it no longer was.
- Changed iOS 14 tests to use Xcode 13 due to
xcpretty/xcode-install#466 (same as #1918).
… tests (#1931)

[The new 1.10.0
version](https://github.com/pointfreeco/swift-snapshot-testing/releases/tag/1.10.0)
requires iOS 13+, which is making CI builds all fail.

We'll be able to upgrade when we drop support for those version, but for
now we're stuck with `1.9.0`
@NachoSoto NachoSoto merged commit a13fc8d into main Sep 23, 2022
@NachoSoto NachoSoto deleted the release/4.12.1 branch September 23, 2022 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants