-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
How I can properly add Path to swift manifest file #65
Comments
Is not valid Swift, nor is it the correct syntax, I suggest letting Xcode do the completion for you. .target(name: "Foo:", dependencies: [.product(name: "Path", package: "Path")]) |
This is exactly what I have in my Package.swift (among other things):
and, swift build throws this error:
And, XCode is not universally available, e.g. there is no Xcode on Linux. So, I want to learn how to do it by hand. All other packages I used are working and Path some how does not. Here is how to reproduce the problem with fresh environment:
|
|
This works! |
Hi,
I tried to add Path to dependencies of Package.swift file and I'm getting this error if I list "Path" as target.dependecies["Path"].
If I list it as
I get this error: unknown package 'Path' in dependencies of target.
Can someone show example of Package.swift file where Path is included in dependencies? I'm new to swift.
Thanks,
Valentin.
The text was updated successfully, but these errors were encountered: