Legacy Documentation: Version 2017.2 (Go to current version)
Building for iOS
Development builds
Other Versions

Advanced options

Once you’ve configured your project in Unity Cloud Build, you can set up advanced build options for each of your build targets.

These options are designed to accommodate the more complex build processing options supported in the Unity Editor.

To access your build target’s advanced options, go to the Unity Developer website. Select your project, enter the Unity Cloud Build section for the project, then select the Config tab, shown below.

Click [+] Show Advanced Options, shown below. This displays a drop-down list of the build target’s Advanced Options.

The title changes to [-] Hide Advanced Options when the Advanced Options drop-down is expanded.

Click Edit Advanced Options to bring up a screen to configure these options.

The Edit Advanced Options screen
The Edit Advanced Options screen

Advanced options per build target

All advanced options are set per build target. This means that, for example, when you click the Advanced Options link for an iOS target, those options are only for that iOS target. When you click Advanced Options for an Android target, those options are only for that Android target. This allows you to use different pre- and post-methods per platform, per build target.

Making development builds

A development build includes debug symbols and enables the Profiler.

See documentation on Development builds for more information.

Pre- and post-export methods

Sometimes you need to manipulate the project files before or after the project is built in Unity. Examples include copying variables from an external file into the project, processing Assets, or working with plug-ins that require special treatment.

See documentation on Pre- and post-export methods for more information.

Using Xcode frameworks

When building for iOS, you might need to include various frameworks after the Unity build process is done, but before the Xcode build process starts.

See documentation on Xcode frameworks for more information.

Custom scripting #define directives

Unity includes a feature named Platform Dependent Compilation. This consists of preprocessor directives that let you partition your scripts to compile and execute a section of code exclusively for one of the supported platforms. You can also specify your own #define directives for each build target.

See documentation on Custom scripting #define directives for more information.

Custom Scene list

Use this if you want to configure a build target to build a set of Scenes that’s different to what is set up in the project’s Build Settings menu in the Unity Editor.

See documentation on Including specific Scenes for more information.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答