Added -nosign option for iOS to optionally skip codesigning (#1776)
This allows non-simulator builds on CI servers without setting up team-id/provisioning-profile/etc. It also allows signing using a different method, if desired. Co-Authored-By: mcagabe19@users.noreply.github.com
This commit is contained in:
@@ -30,6 +30,13 @@ class IOSHelper
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
commands.push("build");
|
commands.push("build");
|
||||||
|
if (project.targetFlags.exists("nosign"))
|
||||||
|
{
|
||||||
|
commands.push("CODE_SIGN_IDENTITY=\"\"");
|
||||||
|
commands.push("CODE_SIGNING_REQUIRED=\"NO\"");
|
||||||
|
commands.push("CODE_SIGN_ENTITLEMENTS=\"\"");
|
||||||
|
commands.push("CODE_SIGNING_ALLOWED=\"NO\"");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (additionalArguments != null)
|
if (additionalArguments != null)
|
||||||
|
|||||||
@@ -1004,6 +1004,7 @@ class CommandLineTools
|
|||||||
Log.println(" \x1b[3m(ios|android)\x1b[0m \x1b[1m-armv7\x1b[0m -- Compile for ARMv7 instead of the OS defaults");
|
Log.println(" \x1b[3m(ios|android)\x1b[0m \x1b[1m-armv7\x1b[0m -- Compile for ARMv7 instead of the OS defaults");
|
||||||
Log.println(" \x1b[3m(ios|android)\x1b[0m \x1b[1m-armv7s\x1b[0m -- Compile for ARMv7s instead of the OS defaults");
|
Log.println(" \x1b[3m(ios|android)\x1b[0m \x1b[1m-armv7s\x1b[0m -- Compile for ARMv7s instead of the OS defaults");
|
||||||
Log.println(" \x1b[3m(ios)\x1b[0m \x1b[1m-arm64\x1b[0m -- Compile for ARM64 instead of the OS defaults");
|
Log.println(" \x1b[3m(ios)\x1b[0m \x1b[1m-arm64\x1b[0m -- Compile for ARM64 instead of the OS defaults");
|
||||||
|
Log.println(" \x1b[3m(ios)\x1b[0m \x1b[1m-nosign\x1b[0m -- Compile executable, but skip codesigning");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isProjectCommand)
|
if (isProjectCommand)
|
||||||
|
|||||||
Reference in New Issue
Block a user