Posts

Showing posts from January, 2018

Xcodebuild Destination

From  http://www.mokacoding.com/blog/xcodebuild-destination-options/ When using  xcodebuild  there are cases in which you want to use the  -destination  option to configure which device or Simulator will be used by the tool, for example when doing  xcodebuild test . If you are like me your brain cannot retain the syntax and options for  -destination , so here's a cheatsheet. Destination Specifier The argument for  -destination  is called destination specifier, and its syntax is a list of comma separated  key=value  pairs. The specifier  platform  key can be used to target one of the supported platforms. Each platform comes with its set of keys. The supported platforms are: OS X , your Mac iOS , a connected iOS device iOS Simulator watchOS watchOS Simulator tvOS tvOS Simulator OS X The Mac OS X platform accepts an  arch  keyword, which can be either  x86_64  or  i386 . ...