Experimenting with #Playground macro with Xcode 26 beta 3, out of the box I see a conflict between duplicates in the XcodeDefault Toolchain. Essentially a clean install of macOS Tahoe 26 25A5306g
FB18930059
Was trying to follow the first Foundation Model WWDC video example but distilling it down to the most basic use of the Playground macro produces the same error.
import Playgrounds
#Playground {
}
Any solutions / workarounds? Wasn't sure whether to attempt to delete one of these–but they are internal libraries.
objc[3241]: Class PGLConcurrentMapNode is implemented in both /Applications/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/PlaygroundLogger.framework/Versions/A/PlaygroundLogger (0x10db98c10) and /Applications/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libLiveExecutionResultsLogger.dylib (0x10db18050). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
error: Couldn't look up symbols:
protocol descriptor for Playgrounds.__PlaygroundsContentRecordContainer```
Topic:
Developer Tools & Services
SubTopic:
Swift Playground