plaid / plaid-link-ios

Plaid Link iOS SDK
https://plaid.com/docs/link/ios
MIT License
133 stars 88 forks source link

Added Swift Package Manager support. #15

Closed rokgregoric closed 2 years ago

rokgregoric commented 2 years ago

Just add this file .. it works out of the box.

zoom764 commented 2 years ago

Access

lanserxt commented 2 years ago

@afh Hi, sorry any news about that? This is very important for SPM users.

afh commented 2 years ago

Thanks for the continued interest, @lanserxt, and emphasizing the importance for folks using Swift Package Manager (SPM). We have started integrating LinkKit via SPM for internal applications to test and verify that things are working as expected. By the looks of things support for SPM will likely come with a future release in the first quarter of 2022.

lanserxt commented 2 years ago

@afh Thank you! Currently we have to manually (!) update it every 15th of each month. Since Pods are not available for us. We are so waiting for this. I can even talk to Dave Verwer (https://twitter.com/daveverwer) to include you in Swift Package Index. That will be a big hit for Swift community.

lanserxt commented 2 years ago

@afh Sorry, have you agreed on something ?)

afh commented 2 years ago

Thank you all for you patience!

LinkKit 2.3.2 adds support for integrating with Swift Package Manager. Please give it a try and report back here (we'll keep this issue open for a couple of days) in case you run into issues or there are questions. We will update the official documentation in the coming days.

@lanserxt I've created SwiftPackageIndex/PackageList#1549 to request inclusion of Plaid LinkKit. Update: SwiftPackageIndex/PackageList#1549 has been merged and Plaid LinkKit has been added to the Swift Package Index (https://swiftpackageindex.com/plaid/plaid-link-ios).

lanserxt commented 2 years ago

@afh hank you so much! So many things become easier with this improvement. Trying...

afh commented 2 years ago

Glad to hear that @lanserxt 🙂

lanserxt commented 2 years ago

@afh All went fine on Xcode 13.2.1!

afh commented 2 years ago

Thanks for reporting back, @lanserxt, and confirming that integration of LinkKit using Swift Package Manager worked well.

pteasima commented 2 years ago

Hey @afh , for me it just says "fetching" forever when I try to add swift package in XCode 13.2.1

🤷‍♂️ I've tried restarting stuff etc., other packages work for me

afh commented 2 years ago

Mind sharing a screenshot, @pteasima, to help understand where exactly it might go wrong?

pteasima commented 2 years ago

haha fixed itself 😅. To be fair I did try everything and did try after a little while but still it didn't work and now it does. Thanks anyway.

afh commented 2 years ago

Glad to hear that it was fixed @pteasima. Would you please be so kind and share how you fixed your issue in case someone else runs into it?

pteasima commented 2 years ago

fixed itself, as I've said. I have to assume github wasn't able to serve the package for the better part of an hour.

afh commented 2 years ago

Considering this PR as done as support to integrate LinkKit with Swift Package Manager (SPM) has been added with the LinkKit 2.3.2 release, and the official documentation around LinkKit has been updated accordingly.

In case you are running into issues please open a new support case from the Plaid dashboard.