Xcode 14 project compile error ... com.apple.xcode.tools.swift.compiler is not absolute

I am using a static linked c library in my project. There was no error in Xcode 13 but I am starting to get error below after upgraded to Xcode 14.

This error doesn't seem to stop build from completing successfully.

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
Xcode 14 project compile error ... com.apple.xcode.tools.swift.compiler is not absolute
 
 
Q