Version: 2022.3
言語: 日本語
Building and delivering for iOS
Build for iOS

iOS ビルド設定

Use the iOS Build Settings to configure and build your application for iOS devices. The iOS Build Settings are part of the Build Settings window. To view the iOS Build Settings:

  1. Select File > Build Settings.
  2. From the list of platforms in the Platform pane, select iOS.
    Note: If iOS is greyed out, follow the steps on iOS environment setup.
  3. If the Build button isn’t visible and Build And Run is greyed out, select Switch Platform. The iOS Build Settings now have an effect on the build.
iOS Build Settings in Unity.
iOS Build Settings in Unity.

ビルド用に以下の設定を行うことができます。

プロパティ 説明
Run in Xcode Selects the Xcode version to open your project with. You can choose the Latest version or select a specific version from the drop-down list.

If you have a specific Xcode version installed on your machine that doesn’t appear in this list, select Other to find the version in the Applications window that appears.

If Unity can’t find an Xcode installation on your computer, select the Browse button that you can select to locate the Xcode installation directory on your computer, if it exists.

This option is visible only when you run Unity on macOS.
Run in Xcode as Selects whether Xcode runs your Project as a Release or Debug build.
Release Builds an optimized version of your app.
Debug Builds a testing version of your app that contains additional code that helps with debugging.
Symlink Sources References Unity libraries instead of copying them into the Xcode project. This option reduces the Xcode project size and makes iteration times faster.
Development Build Indicates whether to include scripting debug symbols and the Profiler in your build. Use this setting when you want to test your application. When you select this option, Unity sets the DEVELOPMENT_BUILD scripting define. Your build then includes preprocessor directives that set DEVELOPMENT_BUILD as a condition.

For more information, see Platform dependent compilation.
Autoconnect Profiler Automatically connects the Profiler to the build. Only available if you enable the Development Build setting. For more information, see Profiler.

This property is visible only when Development Build is enabled.
Deep Profiling Indicates whether to enable Deep Profiling in the Profiler. This makes the Profiler instrument every function call in your application so it returns more detailed profiling data. This option might slow down script execution.

This property is visible only when Development Build is enabled.
Script Debugging Attach script debuggers to the Player remotely.

This property is visible only when Development Build is enabled.
Compression Method Specifies the method Unity uses to compress the data in your Project when it builds the Player. This includes Assets, Scenes, Player settings, and GI data.
デフォルト The default compression is None.
LZ4 A fast compression format that’s useful for development builds. LZ4 compression can significantly improve the loading time of your application. For more information, see BuildOptions.CompressWithLz4.
LZ4HC A high compression variant of LZ4 that’s slower to build but produces better results for release builds. LZ4HC compression can significantly improve the loading time of your application. For more information, see BuildOptions.CompressWithLz4HC.

Building and delivering for iOS
Build for iOS
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961