stripe-ios
stripe-ios copied to clipboard
[BUG] Stored properties cannot be marked potentially unavailable with '@available'
xcode 14 build fails with "Stored properties cannot be marked potentially unavailable with '@available' " version : 'Stripe','21.13.0' support : iOS 11.0
Getting this same issue after the new xCode14 update.
Upon building:
The following build commands failed: SwiftEmitModule normal x86_64 Emitting\ module\ for\ Stripe (in target 'Stripe' from project 'Pods')
I'm stuck with the same issue as well after updating to Xcode 14. Did you guys find any work around yet?
Hi, thanks for filing this! The Xcode 14 compile errors have been fixed in recent versions of the SDK:
https://github.com/stripe/stripe-ios/releases
I would recommend upgrading to v22.8.1.
Hi, thanks for filing this! The Xcode 14 compile errors have been fixed in recent versions of the SDK:
https://github.com/stripe/stripe-ios/releases
I would recommend upgrading to v22.8.1.
"For iOS 11 support, please use [v21.13.0]. For iOS 10, please use [v19.4.0]. If you need to support iOS 9, use [v17.0.2]" The lowest version my app supports is iOS11,What is the lowest version supported by V22.8.1
@YiZheming v22.8.1 supports iOS 12.
Hi, thanks for filing this! The Xcode 14 compile errors have been fixed in recent versions of the SDK: https://github.com/stripe/stripe-ios/releases I would recommend upgrading to v22.8.1.
"For iOS 11 support, please use [v21.13.0]. For iOS 10, please use [v19.4.0]. If you need to support iOS 9, use [v17.0.2]" The lowest version my app supports is iOS11,What is the lowest version supported by V22.8.1
I am using [v21.13.0] and I'm still getting this error in ActivityIndicator.swift inside StripeUICore.
@ankitpoplify you will need upgrade to the latest version of the SDK to fix this error. Unfortunately, changes in the Swift compiler that ships with Xcode 14 broke the old versions.
@ramont-stripe so just to clarify: This means that clients of this SDK will not be able to use the Stripe-SDK with the latest Xcode 14 version while still supporting iOS 11?
Out app currently has a minimum deployment target of iOS 11 and still quite a few customers are on those versions. To my knowledge version 21.13.0
was the last version that still supported iOS 11 and is currently stripe's recommended version for targeting iOS 11. Is there no other option aside from either not upgrading to Xcode 14 (not a long term option) or raising our minimum deployment target?
I update version stripe to latest and it works
How did you updated the version
Hi, thanks for filing this! The Xcode 14 compile errors have been fixed in recent versions of the SDK: https://github.com/stripe/stripe-ios/releases I would recommend upgrading to v22.8.1.
"For iOS 11 support, please use [v21.13.0]. For iOS 10, please use [v19.4.0]. If you need to support iOS 9, use [v17.0.2]" The lowest version my app supports is iOS11,What is the lowest version supported by V22.8.1
I am using [v21.13.0] and I'm still getting this error in ActivityIndicator.swift inside StripeUICore.
Please did you find a solution? Thanks