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:
Josh Tynjala
2024-04-09 09:01:48 -07:00
parent c50c30353a
commit 68169ea2d7
2 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,13 @@ class IOSHelper
else
{
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)