How-To

How to Export a Unity Game to Mobile

Updated August 2026 · 8 min read · by the MacFree team
Short answerInstall the Build Support module for your target, switch platform, set a bundle identifier, and build. Android produces a finished .apk or .aab directly from any OS. iOS produces an Xcode project that still needs Apple's toolchain to become an installable app.

Exporting to Android and iOS looks similar in the Unity UI, but the two pipelines diverge sharply at the final step. Knowing where they differ saves a lot of confusion.

The shared setup

Both targets need the same groundwork:

  1. Install the platform module — Android Build Support (with SDK, NDK and JDK) or iOS Build Support — through Unity Hub.
  2. File → Build Settings → select the platform → Switch Platform.
  3. In Player Settings, set your bundle identifier (Android calls it the package name) in reverse-DNS form.
  4. Add every scene you want shipped to Scenes In Build.
  5. Set orientation, minimum OS version and icons.

Android: Unity finishes the job

Click Build and Unity produces an installable .apk, or an .aab (Android App Bundle) for Google Play. You can sideload the APK onto a device immediately.

For store distribution you also need a keystore to sign the build — create one in Player Settings → Publishing Settings and back it up carefully. Losing your keystore means you can never update that app listing again.

This all works on Windows, macOS and Linux with no extra hardware.

iOS: Unity hands off to Apple

Click Build and Unity produces a folder containing Unity-iPhone.xcodeproj — not an app. Apple's toolchain must then compile and code-sign it, which requires macOS.

You also need a paid Apple Developer Program membership, a distribution certificate and a provisioning profile before the build can be installed or uploaded anywhere.

The practical difference, summarised

AndroidiOS
Unity outputInstallable .apk / .aabXcode project
Extra toolchainNoneXcode (macOS only)
SigningYour own keystoreApple certificate + profile
Store fee$25 one-time$99 per year
Build from WindowsFullyExport only — final stage in the cloud

Shipping iOS from a Windows machine

The iOS gap is closable without buying a Mac. Unity Build Automation, CI services with macOS runners, or an Editor tool like MacFree can run the Apple stage in the cloud and deliver the finished build to TestFlight.

Mobile settings worth getting right

Ship both stores from one PC

Android already builds anywhere. MacFree adds iOS without a Mac.

Get MacFree on the Unity Asset Store →

Frequently asked questions

How do I export a Unity game to mobile?

Install the Build Support module for Android or iOS via Unity Hub, switch the platform in Build Settings, set a bundle identifier in Player Settings, add your scenes and click Build. Android produces an installable apk or aab, while iOS produces an Xcode project that needs Apple's toolchain to finish.

Can I build both iOS and Android from the same Unity project?

Yes. One project targets both platforms; you switch platform in Build Settings. Only platform-specific settings such as icons, signing and permissions differ between them.

Why does Android build directly but iOS does not?

Unity can complete the Android toolchain itself using the Android SDK and NDK, which run on any operating system. Apple's iOS compiler and signing tools are macOS-only, so Unity stops at the Xcode project for iOS.