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

Adding Beak as a package dependency #18

Closed
jakeheis opened this issue Mar 29, 2018 · 3 comments · Fixed by #19
Closed

Adding Beak as a package dependency #18

jakeheis opened this issue Mar 29, 2018 · 3 comments · Fixed by #19

Comments

@jakeheis
Copy link
Contributor

I'm trying to add Beak as a dependency to my project and import the BeakCore library, but I get this error when building:

Fetching https://github.com/yonaskolb/Beak
error: the package https://github.com/yonaskolb/Beak @ 0.3.3 contains revisioned dependencies:
    https://github.com/yonaskolb/swift-package-manager @ untyped_arguments
error: product dependency 'BeakCore' not found

I believe to fix this issue, https://github.com/yonaskolb/swift-package-manager needs to have a new version tagged on the untyped_arguments branch, and then the Package.swift in this repo needs to be changed from:

...
.package(url: "https://github.com/yonaskolb/swift-package-manager", .branch("untyped_arguments")),
...

to:

...
.package(url: "https://github.com/yonaskolb/swift-package-manager", from: "new-version"),
...
@yonaskolb
Copy link
Owner

yonaskolb commented Mar 31, 2018

Thanks for pointing this out @jakeheis.
I've fixed this in #19 by linking to the upstream apple repo which has my required changes merged in now.
It's in master and will be in the next release 👍

@yonaskolb
Copy link
Owner

Released in 0.3.4

@jakeheis
Copy link
Contributor Author

Thanks for the quick fix!

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

Successfully merging a pull request may close this issue.

2 participants