Success building iOS RevenueCat Framework 4.11.0 and earlier (Xcode 13.2.1 13C100)
Fails with errors building iOS RevenueCat Framework 4.12.0 and after (Xcode 13.2.1 13C100)
Reproduction: Empty project (iOS ‘Application’ template) with RevenueCat framework added via File > Add Packages. No additional changes or code.
(Xcode 13.2.1 is the final available for MacOS BigSur 11.6.5)
Suggestions?
Sample errors (see attachment):
purchases-ios/Sources/Support/ManageSubscriptionsHelper.swift:37:78: error: converting non-sendable function value to '@MainActor @Sendable (Result<CustomerInfo, BackendError>) -> Void' may introduce data races fetchPolicy: .cachedOrFetched) { result in ^
purchases-ios/Sources/Misc/OperationDispatcher.swift:58:47: error: converting function value of type '@MainActor @Sendable () -> Void' to '@convention(block) () -> Void' loses global actor 'MainActor' DispatchQueue.main.async(execute: block) ^
purchases-ios/Sources/Networking/CustomerAPI.swift:22:17: error: stored property 'customerInfoCallbackCache' of 'Sendable'-conforming class 'CustomerAPI' has non-sendable type 'CallbackCache<CustomerInfoCallback>' private let customerInfoCallbackCache: CallbackCache<CustomerInfoCallback> ^