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

macOS Catalyst support (with Swift Package Manager and Xcode 12) #1364

Closed
davidme-stripe opened this issue Sep 9, 2019 · 6 comments
Closed
Labels
fixed in master Fixed in master, awaiting next update triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@davidme-stripe
Copy link
Contributor

If you'd like to use Stripe in your Catalyst apps, like and subscribe to this issue. We'll prioritize based on how much feedback we receive.

Caveat: Apple Pay doesn't appear to be supported in Catalyst apps as of the latest Catalina beta.

@davidme-stripe davidme-stripe added the triaged Issue has been reviewed by Stripe and is being tracked internally label Sep 9, 2019
@davidme-stripe
Copy link
Contributor Author

davidme-stripe commented Oct 2, 2019

EDIT: Deleting my comment here, as the instructions were outdated. Catalyst should work without any additional effort when using Swift Package Manager and Xcode 12.

1 similar comment
@davidme-stripe
Copy link
Contributor Author

davidme-stripe commented Oct 4, 2019

EDIT: Deleting my comment here, as the instructions were outdated. Catalyst should work without any additional effort when using Swift Package Manager and Xcode 12.

@davidme-stripe davidme-stripe changed the title macOS Catalyst support macOS Catalyst support (XCFramework now available, waiting on Cocoapods/Carthage support) Oct 4, 2019
@fermoya
Copy link

fermoya commented May 21, 2020

Hi,

Cocoapods merged this PR in Dec 19, it seems they already support xcframeworks in version 1.9.0 (see, Cocoapods releases).

Add support for XCFrameworks using the vendored_frameworks Podspec DSL.
Eric Amorde
#9148

Any updates on this?

Best

@rocketnik
Copy link

rocketnik commented Aug 20, 2020

What is the status on this. The branch you mentioned is version 17.x and we now have 19.x. The 19.x version does not come with a binary version x86_64 Mac, instead it contains x86_64 linked for the Simulator. (I installed via cocoapods)

The Error on version 19.x is:

Building for Mac Catalyst, but linking in object file built for iOS Simulator, file '/Users/[...]/FoodRunner/Pods/Stripe/InternalFrameworks/libStripe3DS2.a' for architecture x86_64

Workaround:

What works is using libStripe3DS2.a from your catalyst-preview branch in combination with the rest of the 19.x branch. It compiles, but I have not run the app (other libraries having problems with Catalyst also). Using the whole 17.x library from the catalyst-preview branch does not work at the moment (Xcode 11.6 on macOS 10.15.6), because of another compilation error.

@davidme-stripe
Copy link
Contributor Author

davidme-stripe commented Sep 12, 2020

We added Swift Package Manager support in #1644, and that (along with Xcode 12) is now our recommended method for building a Catalyst app. We'll release a formal version soon, but for now you should be able to add Stripe as an SPM package on the master branch.

For Cocoapods, we're still waiting on static .xcframework support, which should be coming in Cocoapods 1.10.

(And sorry @rocketnik, I just saw your message! Hopefully this addresses your question.)

@davidme-stripe davidme-stripe added the fixed in master Fixed in master, awaiting next update label Sep 12, 2020
@davidme-stripe davidme-stripe changed the title macOS Catalyst support (XCFramework now available, waiting on Cocoapods/Carthage support) macOS Catalyst support (with Swift Package Manager and Xcode 12) Sep 12, 2020
@davidme-stripe
Copy link
Contributor Author

This is out of beta in 20.0.0 with SPM, and will be in Cocoapods 1.10 once that's available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in master Fixed in master, awaiting next update triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
Development

No branches or pull requests

3 participants