libswiftCompatibilitySpan.dylib missing in XCode 26.3

A macOS privileged helper tool that uses SubProcess crashes on intel Macs (running macOS 13 - 15: unable to test on macOS 26 on intel) with the error that libswiftCompatibilitySpan.dylib cannot be loaded when built with XCode 26.3. The same helper tool works as expected with XCode 26.2.

The helper is installed using SMAppService.

When I remove the dependency for SubProcess, the crash no longer occurs (but important functionality is also disabled).

The helper is installed using SMAppService.

Is it using the BundleProgram property, so that the system runs the privileged helper tool from within the app bundle?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

libswiftCompatibilitySpan.dylib missing in XCode 26.3
 
 
Q