I'm specifying the destination using the -destination
option as follows:
-destination platform=macOS,arch=x86_64
and I receive the following warning (does not cause build failure, but still should be checked):
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:x86_64, id:00006000-001824163AD8801E }
{ platform:macOS, arch:x86_64, variant:Mac Catalyst, id:00006000-001824163AD8801E }
When I add variant=macOS
, thus specifying -destination platform=macOS,arch=x86_64,variant=macOS
, it then states that there isn't a destination that matches the specified criteria. What is the recommended way to specifically specify the platform to be a non-Mac Catalyst macOS destination?