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

Swift Package Manager #67

Open
kiliankoe opened this issue Mar 25, 2017 · 3 comments
Open

Swift Package Manager #67

kiliankoe opened this issue Mar 25, 2017 · 3 comments

Comments

@kiliankoe
Copy link

I'm writing an API wrapper as a library and just started using DVR in my tests, loving it! I'd really love my library staying compatible with Cocoapods, Carthage and Swift Package Manager. This world of three different package managers to support is really something in this ecosystem 😃. My dependencies are declared and integrated via Carthage, which works just fine. Cocoapods doesn't really need to know about DVR since that never runs my tests anyhow. Buuut I kinda still want to be able to run swift test... Is there any way to currently accomplish this?
I don't think SPM supports private/dev/test dependencies, does it? Or would it make sense to include DVR as a normal dependency but only require it in test files? Not sure how Swift handles that...

Nevertheless, support for SPM here would be superb and much appreciated. If it makes sense of course. Thanks! 😊

@kiliankoe
Copy link
Author

On second thought, SPM projects have no concept of a bundle, so they would also fail finding any cassettes. I guess this is something for the future 🤷‍♂️

@loudmouth
Copy link
Contributor

Now that swift package manager supports testTargets I think it would be great to have support for building with SPM. Is this anywhere on the roadmap, and would PR's be accepted?

@loudmouth
Copy link
Contributor

Issues to track in SPM project:

SR-2866
SR-4725

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