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

Package.swift is not available in the repository #6

Open
MaxDesiatov opened this issue Oct 10, 2020 · 4 comments
Open

Package.swift is not available in the repository #6

MaxDesiatov opened this issue Oct 10, 2020 · 4 comments

Comments

@MaxDesiatov
Copy link

Maybe I'm missing something, but what exactly would make this repository compatible with SwiftPM? There's no Package.swift file anywhere, so how one would add it as a dependency in their own package manifest?

@ephemer
Copy link
Member

ephemer commented Oct 12, 2020

Hi @MaxDesiatov you'd need to create a Package.swift based on the CMake files we're using. If you clone the repo and look in the git history you should be able to find the one we used to use.

We moved away from SwiftPM because we couldn't get it working cross-platform with Swift 5 and have had years of battling with it otherwise. We might consider moving back to SwiftPM if the cross-compiling story improves for our use case

@MaxDesiatov
Copy link
Author

Thanks for the clarification. Would the repository name and README.md be updated until then? Both of those seem to be misleading at the moment.

@ephemer
Copy link
Member

ephemer commented Oct 12, 2020

True. To be clear we are using this in Swift, for https://github.com/flowkey/uikit-cross-platform, but didn't think anyone else was aware of this repo specifically.

@ephemer
Copy link
Member

ephemer commented Oct 12, 2020

@MaxDesiatov if you want to use it with SwiftPM, the suggestion to look in the git history still stands. We removed SwiftPM support in flowkey/UIKit-cross-platform@8445e66 - have a look there to see how we were using it

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