stripe-ios
stripe-ios copied to clipboard
Fix usage of the library in extensions to reflect changes in XCode >= 13
trafficstars
Summary
Starting with XCode 13 beta 3, usage of "unsafe" code in application extensions is forbidden and results in build errors. Linked Swift packages are expected to be annotated to explicitely declare what code is unavailable in extensions.
Motivation
Fix the build when using Stripe iOS SDK with Xcode >= 13 beta 3 :)
Testing
Real world testing on an Issuing push provisioning integration of Stripe SDK, with XCode 15.4.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.