sim_and_dev = false
!isEmpty(QT_VERSION):qtConfig(simulator_and_device): \
    sim_and_dev = true

$$sim_and_dev|contains(QMAKE_MAC_SDK, ^$${device.sdk}.*): \
    CONFIG += device $${device.sdk}
$$sim_and_dev|contains(QMAKE_MAC_SDK, ^$${simulator.sdk}.*): \
    CONFIG += simulator $${simulator.sdk}

CONFIG += entrypoint

unset(sim_and_dev)

load(default_pre)

# Check for supported Xcode versions
!versionAtLeast(QMAKE_XCODE_VERSION, 4.3): \
    error("This mkspec requires Xcode 4.3 or later")

