To create a Unity application for iOSApple’s mobile operating system. More info
See in Glossary, you first need to set up your Unity project to support iOS. This information is also relevant to the iPadOS, macOS, and tvOS platforms. To support iOS and other Apple operating systems, a Unity project requires:
Before you get started, check Unity’s Requirements and compatibility documentation for iOS to make sure you’re aware of any limitations for developing a Unity application for this platform.
Unity distributes dependencies as modules which means you use the Unity Hub to install them. The module you need is iOS Build Support. You can install it either when you install a new Unity Editor version, or add it to an existing Unity Editor install. To install modules:
To build iOS applications, Unity generates an Xcode project and then Xcode builds this project into the final application. This means that if you want to build an application locally, you must install Xcode. Xcode is only available for macOS, so if your development machine doesn’t run macOS, you can’t build an application locally. However, Unity Cloud Build can build applications for you which makes it possible for you to develop an iOS application on a non-macOS machine.
To test your build on an iOS device, you need a free Apple ID. However, to distribute your app on the App Store, and to use services such as Game Center or In-App Purchases, you need to register with the Apple Developer Program. For more information about the differences between an Apple ID and Apple Developer Program membership, refer to the Apple’s documentation on Choosing a Membership.
To add your Apple ID to Xcode, follow the steps in Apple’s documentation on Adding an Apple ID account to Xcode.