Found here:
Installed latest shapshot:
Installed snapshot toolchains
main-snapshot-2025-06-09 (in use) (default)
main-snapshot-2025-04-12
Executed:
swiftc -v HelloEmbedded.swift -o HelloEmbedded -enable-experimental-feature Embedded -wmo
Got the following:
Apple Swift version 6.2-dev (LLVM 3c4a54b02dd62b7, Swift a40a7be6945a895)
Target: arm64-apple-macosx15.0
/Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/bin/swift-frontend -frontend -c HelloEmbedded.swift -target arm64-apple-macosx15.0 -Xllvm -aarch64-use-tbi -disable-objc-interop -color-diagnostics -Xcc -fcolor-diagnostics -enable-experimental-feature Embedded -empty-abi-descriptor -no-auto-bridging-header-chaining -module-name HelloEmbedded -in-process-plugin-server-path /Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/local/lib/swift/host/plugins -o /var/folders/9t/cqg2pqlj2lv0_qwsld523fm80000gn/T/TemporaryDirectory.hNlyLH/HelloEmbedded-1.o
/Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/bin/clang /var/folders/9t/cqg2pqlj2lv0_qwsld523fm80000gn/T/TemporaryDirectory.hNlyLH/HelloEmbedded-1.o --target=arm64-apple-macosx15.0 -L /Users/pat/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a.xctoolchain/usr/lib/swift/macosx -o HelloEmbedded
error: link command failed with exit code 1 (use -v to see invocation)
ld: library 'System' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can't find the System Lib. Help.
Regards, Pat