When I try to clean or compile my MacOS project from the command line, by invoking, say,
xcodebuild clean -quiet -project "$XcodeProject" -scheme "$PRODUCT_NAME - App" -configuration Release -archivePath $ARCHIVE_PATH ONLY_ACTIVE_ARCH=NO
I get a warning about multiple matching destinations (see below). I don't quite know what these mean and certainly using the first one seems to work but I'd like to eliminate this warning. How do I get rid of the other destination?
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:536BEC8E-3102-5A3D-9963-2C0856EC47F9 }
{ platform:macOS, name:Any Mac }
Thanks in advance