[swift-corelibs-dev] NSURLSession & libcurl

Daniel Eggert danieleggert at me.com
Wed Mar 23 11:23:26 CDT 2016


> On 23 Mar 2016, at 14:44, Philippe Hausler <phausler at apple.com> wrote:
> 
> The swift-corelibs-foundation version of CF is a static library that is being built into the Foundation product dynamic library so the linkage for libxml2 and anything else should be on that.
> 
> The layout of how linking works for the Darwin version is different because of how we split the layers. NSXMLParser is based on libxml2 in objc. It just does not need a CF abstraction/thunks to convert types.

Looking at the swift-corelibs-foundation Xcode project, the "Link Binary With Libraries" is empty for the CoreFoundation target, while it contains libxml2 for the SwiftFoundation target.

I'd do the same for libcurl.

/Daniel



More information about the swift-corelibs-dev mailing list