错误信息:
Destinations
The -destination option takes as its argument a destination specifier describing the device (or
devices) to use as a destination. A destination specifier is a single argument consisting of a set of
comma-separated key=value pairs. The -destination option may be specified multiple times to cause
xcodebuild to perform the specified action on multiple destinations.
Destination specifiers may include the platform key to specify one of the supported destination plat-forms. platforms.
forms. There are additional keys which should be supplied depending on the platform of the device you
are selecting.
Some devices may take time to look up. The -destination-timeout option can be used to specify the
amount of time to wait before a device is considered unavailable. If unspecified, the default timeout
is 30 seconds.
Currently, xcodebuild supports these platforms:
OS X The local Mac, referred to in the Xcode interface as My Mac, and which supports the fol-lowing following
lowing keys:
arch The architecture to use, either x86_64 (the default) or i386.
iOS An iOS device, which supports the following keys:
name The name of the device to use.
id The identifier of the device to use, as shown in the Devices tab of the Xcode
Organizer.
iOS Simulator The iOS Simulator, which supports the following keys:
name The full name of device to simulate, as presented in Xcode‘s UI.
OS The version of iOS to simulate, such as 6._, or the string latest (the default) to
indicate the most recent version of iOS supported by this version of Xcode.
Some actions (such as building) may be performed without an actual device present. To build against a
platform generically instead of a specific device, the destination specifier may be prefixed with the
optional string "generic/", indicating that the platform should be targeted generically. An example of
a generic destination is the "iOS Device" destination displayed in Xcode‘s UI when no physical iOS
device is present.
原文:http://www.cnblogs.com/ppsunlight/p/4108751.html