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

Unable to use Swift Package Manager with v4.1.1 #377

Closed
tzuhaohuang opened this issue Dec 4, 2019 · 2 comments
Closed

Unable to use Swift Package Manager with v4.1.1 #377

tzuhaohuang opened this issue Dec 4, 2019 · 2 comments

Comments

@tzuhaohuang
Copy link

Description

I tried to use Swift Package Manager to add dependency for Kinvey iOS SDK v4.1.1 and it showed the error message of containing incompatible dependencies.

Steps to reproduce

In Xcode 11.2.1, File -> Swift Packages -> Add Package Dependency -> Paste https://github.com/Kinvey/swift-sdk.git -> Error shown

Kinvey SDK Version

4.1.1 for Swift Package Manager

Tool Versions (XCode / Swift / iOS / Device)

XCode 11.2.1
Swift 5

Screen Shot 2019-12-04 at 11 02 03 AM

@tzuhaohuang
Copy link
Author

I just noticed that Swift Package support is still in beta in release note.
Is there a way to bypass this issue while still using Swift Package to manage my dependencies?
I was unable to use cocoapod to get v4.1.1 unless I specifically get the version from branch 4.1.1.

Thanks

@ventsislav-georgiev
Copy link
Contributor

ventsislav-georgiev commented Sep 30, 2021

Closing old issue. The project supports being added through SPM as described above.
There is an issue with one of the dependencies of the project not supporting SPM properly. The swift-sdk can be used with SPM from a branch only. We've pushed a 6.0.0-rc.1 branch now and will keep pushing branches for next releases.

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

2 participants