xcodebuild: error: Unable to find a destination matching the provided destination specifier

I added a new target for macOS to my existing iPhone app. The new target ran successfully in Xcode. However, when I committed the changes, Xcode Cloud generated the error.

I don't know what the error means. Would someone please give me a pointer? Thank you.

xcodebuild: error: Unable to find a destination matching the provided destination specifier
 
 
Q