Use these settings to configure how Unity builds your application for macOS platform. You can update your macOS Build Settings from the Build Profiles window.
Property | Description | |
---|---|---|
Architecture | Select the CPU to build for (only applies to Build And Run). | |
Intel 64-bit | Use Intel/AMD 64-bit CPU architecture. | |
Apple Silicon | Use Apple’s Silicon architecture. | |
Intel 64-bit + Apple Silicon | Use both architectures. | |
Create Xcode Project | Enable this setting to generate an Xcode project so you can build your final application bundle in Xcode. Xcode has built-in support for code signing and uploading the application to the Mac App Store. | |
Run in Xcode as | Select 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. | |
Development Build | Include scripting debug symbols and the ProfilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info See in Glossary 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 symbol. Your build then includes preprocessor directives that set DEVELOPMENT_BUILD as a condition.For more information, refer to Platform dependent compilation. |
|
Autoconnect Profiler | Automatically connect the Unity Profiler to your build. For more information, refer to Profiler. Note: This option is available only if you select Development Build. |
|
Deep Profiling | Allow the Profiler to process all your script code and record every function call, returning detailed profiling data. For more information, refer to Deep Profiling.
This property is available only if you enable Development Build. Note: Enabling Deep Profiling might slow down script execution. |
|
Script Debugging | Attach script debuggers to the Player remotely. This property is available only if you enable Development Build. |
|
Wait for Managed Debugger | Make the Player wait for a debugger to be attached before it executes any script code. This property is visible only if you enable Script Debugging. |
|
Compression Method | Specifies the method Unity uses to compress the data in your Project when it builds the Player. This includes AssetsAny media or data that can be used in your game or project. An asset may come from a file created outside of Unity, such as a 3D Model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info See in Glossary, ScenesA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info See in Glossary, Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info See in Glossary, and GI data. |
|
Default | On Windows, Mac, Linux Standalone, and iOS, there is no default compression. On Android, the default compression is ZIP, which gives slightly better compression results than LZ4HC. However, ZIP data is slower to decompress. |
|
LZ4 | A fast compression format that is useful for development builds. For more information, refer to BuildOptions.CompressWithLz4. | |
LZ4HC | A high compression variant of LZ4 that is slower to build but produces better results for release builds. For more information, refer to BuildOptions.CompressWithLz4HC. |