<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">Hi All,</p>
<p style="margin:1.2em 0px!important">I recently discovered the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">pkgConfig</code> feature for <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">Package.swift</code> and it definitely makes binding to system libraries easier. After changing <a href="https://github.com/solidsnack/CLibPQ"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">CLibPQ</code></a> to use it, I noticed I was able to build a dependent project with <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">swift build</code> but Xcode could not build the project any longer. This led me to the build settings, to try adding <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">/usr/local/{include,lib}</code> for includes and libraries; but this did not seem to make any difference -- all the symbols from the native lib were unresolvable. This after several instances of cleaning the project, restarting Xcode, &amp;c.</p>
<p style="margin:1.2em 0px!important">Does Xcode 8 consume the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">Package.swift</code> file? What steps can I take to ensure that native libs which discover their paths with <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-radius:3px;display:inline;background-color:rgb(248,248,248)">pkgConfig</code> can build from Xcode, too?</p>
<p style="margin:1.2em 0px!important">Kind Regards, </p><p style="margin:1.2em 0px!important"> Jason Dusek</p>
<div title="MDH:SGkgQWxsLDxkaXY+PGJyPjwvZGl2PjxkaXY+SSByZWNlbnRseSBkaXNjb3ZlcmVkIHRoZSBgcGtn
Q29uZmlnYCBmZWF0dXJlIGZvciBgUGFja2FnZS5zd2lmdGAgYW5kIGl0IGRlZmluaXRlbHkgbWFr
ZXMgYmluZGluZyB0byBzeXN0ZW0gbGlicmFyaWVzIGVhc2llci4gQWZ0ZXIgY2hhbmdpbmcgW2BD
TGliUFFgXSB0byB1c2UgaXQsIEkgbm90aWNlZCBJIHdhcyBhYmxlIHRvIGJ1aWxkIGEgZGVwZW5k
ZW50IHByb2plY3Qgd2l0aCBgc3dpZnQgYnVpbGRgIGJ1dCBYY29kZSBjb3VsZCBub3QgYnVpbGQg
dGhlIHByb2plY3QgYW55IGxvbmdlci4gVGhpcyBsZWQgbWUgdG8gdGhlIGJ1aWxkIHNldHRpbmdz
LCB0byB0cnkgYWRkaW5nIGAvdXNyL2xvY2FsYCBmb3IgaW5jbHVkZXMgYW5kIGxpYnJhcmllczsg
YnV0IHRoaXMgZGlkIG5vdCBzZWVtIHRvIG1ha2UgYW55IGRpZmZlcmVuY2UuPC9kaXY+PGRpdj48
YnI+PC9kaXY+PGRpdj5bYENMaWJQUWBdOiZuYnNwO2h0dHBzOi8vZ2l0aHViLmNvbS9zb2xpZHNu
YWNrL0NMaWJQUTwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+RG9lcyBYY29kZSA4IGNvbnN1bWUg
dGhlIGBQYWNrYWdlLnN3aWZ0YCBmaWxlPyBXaGF0IHN0ZXBzIGNhbiBJIHRha2UgdG8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