Xcode 26 app crashed

After switching from Xcode 16 to Xcode 26, the app crashes. It runs normally in Xcode 16 but crashes in Xcode 26. The stack trace is below.

dyld[29371]: Library not loaded: /usr/lib/swift/libLiveExecutionResultsLogger.dylib Referenced from: <C9F5CC11-0C22-3439-B81C-255911E51CF9> /private/var/containers/Bundle/Application/306FCC79-E84A-4C54-ACBE-D1EC6A469560/BoxPlayer.app/BoxPlayer.debug.dylib Reason: tried: '/usr/lib/system/introspection/libLiveExecutionResultsLogger.dylib' (no such file, not in dyld cache), '/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file), '/private/preboot/Cryptexes/OS/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file), '/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file, not in dyld cache)

Thank you for sharing the post.

Kindly submit a comprehensive crash report, adhering to the guidelines outlined in Posting a Crash Report.

https://developer.apple.com/forums/thread/688669

Albert Pascual
  Worldwide Developer Relations.

Same here. It seems to occur if I use import Playgrounds and the #Playground macro in a SPM module. So far I haven't found a workaround. Just don't use the playground macro.

(Side note: Why do I feel that it happens all the time that features are made for WWDC presentations, but do not work at all in reality, and fail in the most basic setups? I came to the platform, because it didn't use to be that way…)

@Gernot Do you have a crash file or better yet a focused sample that reproduces that issue?

Posting a Crash Reports: https://developer.apple.com/forums/thread/688669

Focused Sample:

That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Thanks, Albert Pascual
  Worldwide Developer Relations.

Xcode 26 app crashed
 
 
Q