checkout / frames-ios

Frames iOS: making native card payments simple

Home Page:https://www.checkout.com/docs/integrate/sdks/ios-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Package Manager support

sebskuse opened this issue · comments

Is your feature request related to a problem? Please describe.

It looks like some initial support for Swift Package Manager was added with a Package.swift, but this hasn't been updated in 3 years. Actually trying to import frames-ios as a SPM dependency results in many errors, and also appears to import Alamofire that doesn't appear to be being used anymore:

Screenshot 2021-01-15 at 15 18 32

Describe the solution you'd like
SPM is arguably the primary mechanism of managing third party dependencies nowadays, as its built directly into Xcode. It would be good to tidy up Package.swift and declare this as a supported installation method.

Thanks @sebskuse for raising this. We will surely look into this and bring in a fix soon. Meanwhile we have other dependency managers like cocoa-pods and Carthage supported. Please have a look at them if that fits into your integration.

@deepesh-vasthimal-cko Thanks for the reply. We're actually using Carthage currently, but it's becoming clear that the path forward is SPM.

@sebskuse, This is now fixed in our latest release 3.4.0. Please feel free to re-open the issue if you still see any issues. Thanks.