Hi all,
Before jumping over to try using Swift on Linux, I've compiled Swift on MacOS and I can see that CoreFoundation is located in ./swift/stdlib/public/Darwin/, however how can I tell swiftc where to find it?
"stdlib/public/Darwin" contains CoreFoundation overlay. The Framework itself is where it's always been, along with the other SDKs inside "Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs".
Note also that Core Foundation code in non-Darwin OSes is in libFoundation.so (soon libFoundationBase.so).
Core Foundation support outside of Darwin is limited, and not all code that uses CF may compile. (If the code compiles, it is intended to work correctly, though.)