xcodebuild: error: option 'Destination' requires at least one parameter of the form 'key=value'

Try using double quotes instead of single quotes, like so:

-destination "platform=iOS Simulator,name=iPad Pro (9.7 inch),OS=10.3"

That fixed the same problem for me.


My mistake! I was trying to put the -destination parameter in the Actions box, like this:

enter image description here

I didn't see the Arguments box under Advanced. When I put this parameter there, it works!

enter image description here

What was odd is that it accepted and tried to use the -destination parameter in the Actions box.

Seems this should be disallowed, or if allowed, handled the same way as when it is in the Arguments box.

Thanks to madhurig on GitHub for her reply to my question, which clued me in to my mistake.


Single quotes with Equal separator works in form of 'key=value', as:

-destination 'platform=iOS Simulator,OS=12.1,name=iPhone X'

To get the list of Known Devices use:

instruments -s devices