Building CoreFoundation for Darwin Based OS's

Hi Dev's,

I've been working with an open-source project(PureDarwin - yes, we're still around) I've seen here in this CoreFoundation that there was a possibility of building CoreFoundation as a Standalone framework. Though after reviewing the latest 6.0 code from Swift that doesn't seem like it's possible given the changes to the CMake Files etc. or is there something I'm missing by chance?

Is there a possibility of the Standalone CoreFoundation being tar'd outside of Swift like in the old days of opensource.apple.com? Or should this be directed to open-source email at Apple?

Thanks for your time and assistance with this matter.
-Cliff

2 Likes

Hi @csekel,

We have focused the swift-corelibs-foundation CoreFoundation sources on supporting the Swift sources as an implementation detail, rather than focusing on building them standalone. On Darwin, too, we have started to hollow out the C implementation of classes like CFCalendar, CFTimeZone, and CFLocale. They now call "up" into Swift to get their implementations.

2 Likes

@Tony_Parker Thank you for the information!

Shameless plug and more information in the first half of this presentation:

3 Likes

Thanks @0xTim for pointing me in this direction and Great Presentation @Tony_Parker !