iOS: Write default code signing identify for iOS in Xcode generator
Change-Id: Ic04da6063863585665c9133caba0279ba478fbb4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Ian Dean <ian@mediator-software.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
5da648043d
commit
a6286039ba
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
QMAKE_XCODE_TOOLCHAIN_BIN_PATH = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
QMAKE_XCODE_TOOLCHAIN_BIN_PATH = $$QMAKE_XCODE_DEVELOPER_PATH/Toolchains/XcodeDefault.xctoolchain/usr/bin
|
||||||
|
|
||||||
|
QMAKE_XCODE_CODE_SIGN_IDENTITY = "iPhone Developer"
|
||||||
|
|
||||||
# iOS build tools
|
# iOS build tools
|
||||||
QMAKE_CC = $$QMAKE_XCODE_TOOLCHAIN_BIN_PATH/clang
|
QMAKE_CC = $$QMAKE_XCODE_TOOLCHAIN_BIN_PATH/clang
|
||||||
QMAKE_CXX = $$QMAKE_XCODE_TOOLCHAIN_BIN_PATH/clang++
|
QMAKE_CXX = $$QMAKE_XCODE_TOOLCHAIN_BIN_PATH/clang++
|
||||||
|
@ -1355,6 +1355,9 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t)
|
|||||||
if (!project->isEmpty("QMAKE_IOS_DEPLOYMENT_TARGET"))
|
if (!project->isEmpty("QMAKE_IOS_DEPLOYMENT_TARGET"))
|
||||||
t << "\t\t\t\t" << writeSettings("IPHONEOS_DEPLOYMENT_TARGET", project->first("QMAKE_IOS_DEPLOYMENT_TARGET")) << ";" << "\n";
|
t << "\t\t\t\t" << writeSettings("IPHONEOS_DEPLOYMENT_TARGET", project->first("QMAKE_IOS_DEPLOYMENT_TARGET")) << ";" << "\n";
|
||||||
|
|
||||||
|
if (!project->isEmpty("QMAKE_XCODE_CODE_SIGN_IDENTITY"))
|
||||||
|
t << "\t\t\t\t" << writeSettings("CODE_SIGN_IDENTITY", project->first("QMAKE_XCODE_CODE_SIGN_IDENTITY")) << ";" << "\n";
|
||||||
|
|
||||||
tmp = project->values("QMAKE_PBX_VARS");
|
tmp = project->values("QMAKE_PBX_VARS");
|
||||||
for (int i = 0; i < tmp.count(); i++) {
|
for (int i = 0; i < tmp.count(); i++) {
|
||||||
QString var = tmp[i].toQString(), val = QString::fromLocal8Bit(qgetenv(var.toLatin1().constData()));
|
QString var = tmp[i].toQString(), val = QString::fromLocal8Bit(qgetenv(var.toLatin1().constData()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user