diff --git a/src/lime/tools/IOSHelper.hx b/src/lime/tools/IOSHelper.hx index ec47dd85b..8ba7bc3c1 100644 --- a/src/lime/tools/IOSHelper.hx +++ b/src/lime/tools/IOSHelper.hx @@ -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) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index 857c3555b..c2a27f105 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -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-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-nosign\x1b[0m -- Compile executable, but skip codesigning"); } if (isProjectCommand)