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

Gage Morgan gagemorgan at outlook.com
Wed Dec 9 15:13:42 CST 2015

So would things break if I ran swift build in the CCairo directory and then example? This so confusing...

Sent from Outlook Mobile

On Wed, Dec 9, 2015 at 11:19 AM -0800, "Max Howell" <max.howell at apple.com> wrote:

> 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”.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151209/281e4db1/attachment.html>

More information about the swift-users mailing list