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

I've just filed https://bugs.swift.org/browse/SR-14595 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

Terms of Service

Privacy Policy

Cookie Policy