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
Can't Add Local Swift Package as Dependency #721
Comments
Hi @jsorge, currently local packages are only supported when they mirror remote packages. There is mention of that buried here https://github.com/yonaskolb/XcodeGen/blob/master/Docs/Usage.md Additional work is required to support completely local packages |
Ah that makes sense. I hadn't seen that note before. Thanks for letting me know. |
Hi @yonaskolb, what kind of additional work is required to make this feature work? And it works for me. Except I don't have any remote package validation for now. |
Hi everybody I'm kinda interested too. Are there any news about this? |
I made a pull request and it would help this issue => #796 |
Great work guys. Thank you so much! Waiting for a new release :D |
Hello. v2.15.0 is released and we can use local Swift Package from now by following format. ...
packages:
MyLibrary:
path: Packages/MyLibrary
targets:
GennedProj:
...
dependencies:
- package: MyLibrary |
Hello, im under version 2.35.0 and unfortunately this doesn't work. Xcode find the packages as they are listed in project structure -> Packages, but i cannot import these dependencies !! Any idea on how to resolve this ? |
Using Xcodegen v2.10.1 and adding a local Swift package to my project, and I want it to be a dependency for one of my targets. The following is not working for me:
And the error I get is
Spec validation error: Target "MyApp" has an invalid package dependency "Utilities"
. If I alter the dependency on Utilities to be on Pathos instead (which is a remote package) then the project generates just fine.Am I holding it wrong?
The text was updated successfully, but these errors were encountered: