You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to migrate the app to the "complete" Swift Strict Concurrency check, and we have a blocker with Stripe, that declares a static var (STPPaymentConfiguration Singleton), which cannot be referenced since mutable. @preconcurrency directive is not working.
So far, we are forced to use the "targeted" check, to silence this error on the compiler, preventing a complete migration.
Solution
Add the support to Swift Strict Concurrency check "complete" to the library.
The text was updated successfully, but these errors were encountered:
Hello, thanks for filing this! I took a look, and unfortunately the STPPaymentConfiguration is just the tip of the iceberg: We have a lot of code that doesn't meet these requirements. We'll keep this issue open to track our work on this.
@gabe4coding can you share how you are including our SDK in your app? I have tried to reproduce this issue on the latest version of Xcode 16 beta but am not able to. I have Swift 6 enabled and concurrency check set to complete.
Problem
Trying to migrate the app to the "complete" Swift Strict Concurrency check, and we have a blocker with Stripe, that declares a
static var
(STPPaymentConfiguration
Singleton), which cannot be referenced since mutable.@preconcurrency
directive is not working.So far, we are forced to use the "targeted" check, to silence this error on the compiler, preventing a complete migration.
Solution
Add the support to Swift Strict Concurrency check "complete" to the library.
The text was updated successfully, but these errors were encountered: