xcodebuild { # Xcode project files always support both Debug and Release configurations # and device and simulator targets, so we make sure the wrapper-makefile # also does. CONFIG += debug_and_release simulator_and_device } load(resolve_config) !macx-xcode:xcodebuild { # Switch the order to make sure that the first Makefile target is the right one !qtConfig(simulator_and_device):contains(QMAKE_MAC_SDK, ^$${simulator.sdk}.*): \ addExclusiveBuilds(simulator, device) else: \ addExclusiveBuilds(device, simulator) }