Hey,
I have a package in 4.3.1 version. Xcode - 13.3.1 version.
I had made pod install then I was starting to build an app. During building I received in debug console error:
Swift Compiler Error (Xcode): Concurrently-executed local function 'complete()' must be marked as '@sendable'
../ios/Pods/RevenueCat/Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:917:21
So I modified the code by adding @sendable:
@Sendable @MainActor func complete() { completion?(transaction, nil, purchasesError, false) }
After change everything is fine. Please, check why an app can't be build without above modification.
Hey,
I have a package in 4.3.1 version. Xcode - 13.3.1 version.
I had made pod install then I was starting to build an app. During building I received in debug console error:
Swift Compiler Error (Xcode): Concurrently-executed local function 'complete()' must be marked as '@sendable'
../ios/Pods/RevenueCat/Sources/Purchasing/Purchases/PurchasesOrchestrator.swift:917:21
So I modified the code by adding @sendable:
@Sendable @MainActor func complete() { completion?(transaction, nil, purchasesError, false) }After change everything is fine. Please, check why an app can't be build without above modification.