Hi everyone,
I am facing an issue I just cannot seem to figure out.
My app can be deployed to the app store via Flutterflow without an issue (i.e push directly to testflight). It runs perfectly well. However, when I run "flutter run" locally on my terminal to test locally on a simulator using xcode, it gives me the error below. I followed "How To Set Up Flutter To Test Your App On Mac" tutorial to get it working a few weeks ago. It worked perfectly fine, but after adding a new revenuecat product offering and a new screen with revenuecat component, I can no longer compile and execute "flutter run". Please help! π’
Here is the error:
"Command CompileSwift failed with a nonzero exit code
Swift Compiler Error (Xcode): Static method
'measureAndLogIfTooSlow(threshold:message:level:intent:_:)' requires that
'StoreKitStrings' conform to 'Sendable'
/Users/alexzhou/Documents/GitHub/wordbuddy/ios/Pods/RevenueCat/Sources/Purchasin
g/StoreKit2/ProductsFetcherSK2.swift:28:45
Swift Compiler Error (Xcode): Stored property '_metadata' of
'Sendable'-conforming class 'Offering' has non-sendable type 'Offering.Metadata'
/Users/alexzhou/Documents/GitHub/wordbuddy/ios/Pods/RevenueCat/Sources/Purchasin
g/Offering.swift:40:16
Swift Compiler Error (Xcode): Stored property 'response' of
'Sendable'-conforming class 'Offerings' has non-sendable type
'OfferingsResponse'
/Users/alexzhou/Documents/GitHub/wordbuddy/ios/Pods/RevenueCat/Sources/Purchasin
g/Offerings.swift:47:17
Swift Compiler Error (Xcode): Stored property 'paymentQueueWrapper' of
'Sendable'-conforming class 'TransactionPoster' has non-sendable type
'EitherPaymentQueueWrapper' (aka 'Either<StoreKit1Wrapper,
PaymentQueueWrapper>')
/Users/alexzhou/Documents/GitHub/wordbuddy/ios/Pods/RevenueCat/Sources/Purchasin
g/Purchases/TransactionPoster.swift:60:16
Could not build the application for the simulator.
Error launching application on iPhone 13 Pro Max."
FWIW - here is the youtube video I followed