Files
purchases-ios/Sources/Support/SwiftVersionCheck.swift
T
Rick d09d1b335a Removed support for Swift 5.7 and removed related Swift version checks (#6142)
* Remove M1 base image + test with installing simulator runtime on xcode 14.3.1

* Comment out other jobs for testing

* Added SnapshotTestingStub Package.swift for Swift 5.8 when running on CircleCI with Xcode 14.3.1

* Re-add rosetta step for iOS 13 simulators

* Fix compilation errors targeting iOS 13 because of SKTesting API not being available

* Reverting temporary commenting out CircleCI jobs

* Removed iOS 13 test support since it was only used for generating snapshots, which failed

* Removed M1 specific Mint dependency from CircleCI config

* Simplified CircleCI config by removing macos 12.6 executer since it's no longer used

* Remove last mention of old macos executor

* Removed the validate Package.swift file for Swift 5.7 build step

* Removed iOS 14 test from default build and run

* Removed support for Swift 5.7 and removed related Swift version checks
2026-01-28 08:21:24 +01:00

20 lines
516 B
Swift

//
// Copyright RevenueCat Inc. All Rights Reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/MIT
//
// SwiftVersionCheck.swift
//
// Created by Nacho Soto on 1/18/23.
import Foundation
#if swift(<5.8)
// See https://xcodereleases.com and https://swiftversion.net
#error("RevenueCat requires Xcode 14.3.1 with Swift 5.8 to compile.")
#endif