Cannot build Xcode project with Swift Packages if Undefined Behavior Sanitizer or Thread Sanitizer is on

I've just filed [SR-14595] Cannot build project with Swift package dependencies if Undefined Behavior Sanitizer is on · Issue #4423 · apple/swift-package-manager · GitHub based on the bug where, if you have TSAN or USAN enabled for your app, then it can't be built if it has SPM dependencies because the packages will fail to build due to the error, "Could not open or create -dependency_info file".

I don't know why this is happening but any insight could be helpful. Thanks

3 Likes

Does anyone have a solution for this? How are we supposed to debug our apps if we can't build them?

Why have 2 months gone by and this bug still is not fixed in Xcode?

Perhaps also file it in Feedback Assistant? I just did: FB9522965