tvOS용 빌드를 만들려면 Build Settings (메뉴: File > Build Settings)으로 이동하십시오. Platform 리스트에서 tvOS 를 선택한 후 Switch Platform 버튼을 선택하십시오.
iOS와 마찬가지로, 앱을 tvOS 기기로 빌드하려면 다음의 두 단계를 수행해야 합니다.
Unity가 Xcode 프로젝트를 빌드합니다.
Xcode가 해당 프로젝트를 기기에 빌드합니다.
Xcode가 빌드되는 기기를 선택하려면 다음 절차를 따르십시오.
기기를 컴퓨터에 연결합니다.
Xcode의 메인 메뉴에서 Product > Destination 으로 이동한 후 Devices 리스트에서 기기를 선택합니다.
빌드에 대해 다음의 설정을 설정할 수 있습니다.
Setting | Function | |
---|---|---|
Run in Xcode | This option only shows when you run Unity on macOS. Select 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, but it doesn’t appear in this list, select Other, then find and select the specific version in the Applications window that appears and select Open. If Unity can’t find an Xcode installation on your computer, it displays a Browse button that you can select to locate the Xcode installation directory on your computer, if it exists. |
|
Run in Xcode as | Select whether Xcode runs your Project as a Release or Debug build. | |
Release | Build an optimized version of your app. | |
Debug | Build a testing version of your app that contains additional code that helps with debugging. | |
Symlink Unity libraries | Reference Unity libraries instead of copying them into the Xcode project. This option reduces the Xcode project size and makes iteration times faster. | |
Development Build | A development build includes scripting debug symbols. When you select the Development Build setting, you can select the Autoconnect Profiler, Script Debugging, and Scripts Only Build setting. It also enables the DEVELOPMENT_BUILD #define. For more information about #define directives, see documentation on Platform dependent compilation. |
|
Autoconnect Profiler | Automatically connect the Profiler to the build. Only available if you enable the Development Build setting. For more information on the Profiler, see documentation on the Profiler. | |
Deep Profiling | When you enable Deep Profiling, Unity profiles all of your script code and records all function calls. This is useful to pinpoint game code that causes performance issues. However, it uses a lot of memory and might not work with very complex scripts. For more information, see documentation on deep profiling. | |
Script Debugging | Attach script debuggers to the Player remotely. Only available if you enable the Development Build setting. | |
Scripts Only Build | Enable this setting to build just the scripts in the current Project. Only available if you enable the Development Build setting. When you enable this setting, Unity rebuilds the scripts in your application, and leaves data files from previously executed builds intact. It significantly improves iteration times if you only change the code in your application. Note: You need to build the entire Project once before you can use this setting. |
|
Compression Method | Compress the data in your Project at build time. This includes Assets, Scenes, Player settings, and GI data. Choose between the following methods: | |
Default | The default compression is None. | |
LZ4 | A fast compression format that is useful for development builds. LZ4 compression can significantly improve the loading time of your application. For more information, see documentation on BuildOptions.CompressWithLz4. | |
LZ4HC | A high compression variant of LZ4 that is 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 documentation on BuildOptions.CompressWithLz4HC. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.