Version: 2022.1
언어: 한국어
Set up a Gymfile in Unity Cloud Build
Build output

Build target configurations

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

이 옵션은 Unity 에디터가 지원하는 더 복잡한 빌드 프로세싱 옵션을 수용합니다.

Note: If you are configuring your build options for the first time, you must set up source control first.

To access your build target’s advanced options:

  1. Sign in to the to the Unity Developer website.
  2. Select DevOps > Cloud Build > Configurations.

You have two options to set up a new build target:

Quick target setup

When you select Quick target setup, you see the basic configurations required to configure a build target for each platform. Choose this option if you don’t want to configure advanced settings for your build target.

Quick target setup flow for iOS​
Quick target setup flow for iOS​

Target setup

When you select Target setup, you first set up the basic settings required for launching your build target. Then, you can either save your configuration or move to the advanced settings.

Target setup advanced settings for iOS​
Target setup advanced settings for iOS​

In the Advanced settings tab, the build target’s Advanced Options are displayed.

모든 고급 옵션은 빌드 타겟 별로 설정됩니다. 따라서 iOS 타겟을 대상으로 Advanced Options를 클릭한 경우, 오직 해당 iOS 타겟에만 해당되는 옵션이 설정됩니다. 이와 비슷하게, Android 타겟을 대상으로 Advanced Options를 선택한 경우, 오직 해당 Android 타겟에만 해당되는 옵션이 설정됩니다. 이를 통하여 빌드 타겟별, 플랫폼별 서로 다른 선처리 및 후처리 메서드를 사용할 수 있습니다.

아래 표에는 고급 옵션이 나와 있습니다.

프로퍼티 설명
Build output A build output includes debug symbols and enables the Profiler. For more information, see Build output.
Script hooks -Pre-Build Script Cloud Build will run this script before the Unity build process starts. You can use this script for custom pre/post processing.
Script hooks -Post-Build Script Cloud Build will run this script after the Unity build process is completed. You can use this script for custom pre/post processing.
Script hooks-Pre-Export Method Manipulate project files before the project is built. Examples include copying variables from an external file into the project, processing Assets, or working with plug-ins that require special treatment. For more information, see Pre- and post-export methods.
Script hooks- post-Export method Add the public method you want use to call after finishing the Unity build process (but before Xcode).
Tests Use this to configure conditions to run tests and actions on failures.
Environment variables Use environment variables if you want to give different configurations to your code for different builds.
Scene List Unity 에디터에서 프로젝트의 Build Settings 메뉴와 다른 설정을 사용하여 집합을 빌드할 수 있도록 빌드 타겟을 설정하고 싶은 경우 이 기능을 사용합니다. 자세한 내용은 특정 씬 포함을 참조하십시오.
Addressables Use this to build the configured Addressables for the build target’s platform as part of the build process. For more information, see Using Addressables in Unity Cloud build.
Asset bundles Use this to build all configured Asset Bundles for this build target’s platform as part of the build process. For more information, see AssetBundles.

Xcode 프레임워크 사용

iOS을 타겟으로 빌드하는 경우, Unity 빌드 프로세스가 완료되고 Xcode 빌드 프로세스가 시작되기 이전에 다양한 프레임워크를 포함해야 할 수도 있습니다.

자세한 내용은 Xcode 프레임워크를 참조하십시오.

Set up a Gymfile in Unity Cloud Build
Build output