Firstly, I know that questions similar this have been asked in a previous thread but I didn't want to bump a 1+ year old thread, so I shall ramble here - I do apologise if this is the wrong place to post.
In the aforementioned thread it is said that tarballs of CF are no longer shipped to opensource.apple.com, instead they've are imported into the GitHub project. It also said that the Darwin CF is a superset of the swift-corelibs-foundation
- and I was wondering if it would at all be possible if the "old" CF build system could be brought down into swift-corelibs-foundation
- or at least be republished back to the Apple Open Source portal. Doing so would make it significantly easier for us at PureDarwin to build a functioning CF framework, as the current project is very intertwined with Swift - I can't even seem to build the CF from the Swift 5.0 release without DEPLOYMENT_RUNTIME_SWIFT
defined.
I've tried many was around this - firstly by creating a target for CoreFoundation as a shared framework in Xcode and attempting to copy as many of the target setting over (which just lead to a bit of a mess, and after teasing out lots of build errors, I was left segfaults in the library that was built), and using CMake, however neither the Xcode build system nor CMake seem to be suited to building a (near) drop-in replacement for /System/Library/Frameworks/CoreFoundation.framework
.
If anyone has any pointers on anything that can be done, that would be greatly appreciated!