How to build Swift Package using xcodebuild from a different path?

I need to call xcodebuild build -scheme XYZ from a different location than Package.swift and without a navigation. Is it possible? Can I provide some argument with a path?

How to build Swift Package using xcodebuild from a different path?
 
 
Q