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

I've just filed 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


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

Terms of Service

Privacy Policy

Cookie Policy