Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'STPCardScanner' is only available in iOS 13 or newer #47

Open
Ritesh175862 opened this issue Mar 15, 2023 · 0 comments
Open

'STPCardScanner' is only available in iOS 13 or newer #47

Ritesh175862 opened this issue Mar 15, 2023 · 0 comments

Comments

@Ritesh175862
Copy link

Ritesh175862 commented Mar 15, 2023

Hi Team,

I getting this error while making the build and it's very urgent

Screenshot 2023-03-15 at 4 46 08 PM

/ios/Pods/Stripe/Stripe/STPAddCardViewController.swift:119:35: error: 'STPCardScanner' is only available in iOS 13 or newer
private lazy var cardScanner: STPCardScanner? = nil
^
/ios/Pods/Stripe/Stripe/STPAddCardViewController.swift:12:14: note: add @available attribute to enclosing class
public class STPAddCardViewController: STPCoreTableViewController, STPAddressViewModelDelegate,
^
/ios/Pods/Stripe/Stripe/STPBSBNumberValidator.swift:133:42: warning: 'IndexDistance' is deprecated: All index distances are now of type Int
private let kBSBNumberDashIndex = String.IndexDistance(3)

System Properties

Hardware Overview:

Model Name: MacBook Pro
Model Identifier: Mac14,7
Model Number: Z16R0006KHN/A
Chip: Apple M2
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 8419.60.44
OS Loader Version: 8419.60.44
Serial Number (system): XNCF29M0XY
Hardware UUID: 1A5B2A73-1CBE-5181-B82E-C0806D26B850
Provisioning UDID: 00008112-000E204A3A31401E
Activation Lock Status: Enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant