xcode: error: Using the first of multiple matching destinations
If you're getting the following error message from xcodebuild:
Just delete all xcode instances from you macOS and reinstall XCode. That was the only way to fix it for me. For me it also fixed weird build issues within Xcode.