Files
purchases-ios/Sources/Support/SwiftVersionCheck.swift
T
NachoSoto f8e07f07e8 Produce a compilation error when using an old Xcode version (#2222)
This will make it easier to figure out that the version is no longer
compatible.
Aditionally, I've added `UpdatingRequirements.md` so we have a single
place to reference when changing these requirements.
2023-01-18 08:16:06 -08:00

20 lines
489 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.5.2)
// See https://xcodereleases.com
#error("RevenueCat requires Xcode 13.2 with Swift 5.5.2 to compile.")
#endif