Do not probe attached iOS devices while configuring using the Xcode generator
Without -destination parameter passed xcodebuild probes attached iOS devices. This takes significant amount of time and spams the locks with error messages if attached devices are locked. This can be avoided by asking xcodebuild to build for a generic destination:
-destination generic/platform=iOS. Please consider to automatically pass this argument to xcodebuild, to provide a way to explicitly set the destination or to simply pass arbitrary arguments to xcodebuild.