[swift-users] Binding Regular C Functions (Gtk, Cairo, etc.)

Max Howell max.howell at apple.com
Wed Dec 9 13:19:08 CST 2015

> Gage,
> For what it's worth, after running `git init` and `git tag -f 1.0.0`
> in `CCairo` to get something importable, I run into this error:
> :;  swift build
> Cloning Packages/CCairo
> <unknown>:0: error: no such file or directory:
> '/Users/solidsnack/Downloads/Sources/example/Packages/CCairo/Package.swift’

    rm -rf /Users/solidsnack/Downloads/Sources/example/Packages

The PM does not update the git repo, by default this is the right behavior since you should not change your dependency sources every build. However I agree this is confusing in these situations. We plan some sort of “dev mode”.

More information about the swift-users mailing list