c3278e3353
And use configure's -sdk argument to choose between the iphoneos and the iphonesimulator SDK. xcodebuild -showsdks can be used to list the available SDKs. Passing an SDK without a version postfix implies the latest version of the SDK. Change-Id: I881df754d522fc91aaa16ba3e39cf0c37a21a1f1 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
14 lines
483 B
Plaintext
14 lines
483 B
Plaintext
#
|
|
# qmake configuration for Xcode
|
|
#
|
|
|
|
# Get path of Xcode's Developer directory
|
|
QMAKE_XCODE_DEVELOPER_PATH = $$system(xcode-select --print-path)
|
|
isEmpty(QMAKE_XCODE_DEVELOPER_PATH): \
|
|
error("Xcode path is not set. Please use xcode-select to choose Xcode installation path.")
|
|
|
|
# Make sure Xcode path is valid
|
|
!exists($$QMAKE_XCODE_DEVELOPER_PATH): \
|
|
error("Xcode is not installed in $${QMAKE_XCODE_DEVELOPER_PATH}. Please use xcode-select to choose Xcode installation path.")
|
|
|