Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
When you build a project for the iOS platform Unity will create a folder that contains an XCode project. This project is required to compile and sign your app before deploying on devices, and it allows you to prepare and bundle your game for distribution on the App Store.
Before building the iOS project make sure that you set thein . You may also choose the to run the game on the device or simulator.
This contains code that integrates the Unity Runtime and Objective-C. The contained files
UnityAppController.mm/h are the entry point of the application, and you can create your own AppDelegate, derived from UnityAppController. If you have plugins including
AppController.h you can simply include
UnityAppController.h instead. If you have
AppController.mm/h in Plugins/iOS folders you can merge and rename them.
iPhone_Profiler.h file defines a compiler conditional to enable the Internal Profiler. This is a folder for code that doesn’t change often, and you can place your custom classes here. The changes to this folder are preserved between builds when the append mode is selected, but this function doesn’t support multiple build targets and requires a fixed structure of the
The Internal Profiler is fast and unobtrusive, and feeds basic information:
This contains the serialized game assets, and .NET assemblies (
dll files) as full code (or metadata if stripping is on). The
machine.config file is the setup for various .NET services such as security, WebRequest, and more. The content of this folder is refreshed with each build, and you should not modify it.
This contains the .NET assemblies translated into ARM assembler (
s files). The
libiPhone-lib.a file is the Unity Runtime static library, and
RegisterMonoModules.cpp binds Unity native code with .NET. The content of this folder is refreshed with each build, and you should not modify it.
Your custom files can be placed here.
These are icons and splash screens (
png files). These files are automatically managed by Unity. You can setup them in .
info.plist is managed via in Unity. This file is updated when building the player, instead of being replaced. You should not modify it unless it is really needed.
These include the XCode Project file (
xcodeproj file), and framework links that are only shown in the .