Skip to content

Instantly share code, notes, and snippets.

@jonathanpeppers
Created April 1, 2015 20:35
Show Gist options
  • Save jonathanpeppers/ea77222f6b38062a9472 to your computer and use it in GitHub Desktop.
Save jonathanpeppers/ea77222f6b38062a9472 to your computer and use it in GitHub Desktop.
BuildScript.cs for iOS IL2CPP
static void iOS64()
{
CheckDir("Scratch/Xcode");
PlayerSettings.SetPropertyInt("ScriptingBackend", (int)ScriptingImplementation.IL2CPP, BuildTargetGroup.iPhone);
PlayerSettings.SetPropertyInt("Architecture", (int)iPhoneArchitecture.Universal, BuildTargetGroup.iPhone);
BuildPipeline.BuildPlayer(GetScenes(), "Scratch/Xcode", BuildTarget.iPhone, BuildOptions.None);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment