I am also getting this for a c library wrapper project. Interestingly the Build succeeded even with a bunch of errors like below. Rebuild project with Xcode 14 didn't fix my problem :(
Dependency for P1:target-SwiftSMB-f940fa9bfd7461b6bfd7a1821b88923283a44e681aeb1f425a9cef51a7a8aacb-:Debug:SwiftDriver Compilation Requirements SwiftSMB normal x86_64 com.apple.xcode.tools.swift.compiler is not absolute (libsmb2/include/smb2/smb2.h).
...
Showing All Errors Only
Command SwiftDriver Compilation Requirements emitted errors but did not return a nonzero exit code to indicate failure
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: