Skip to main content

Build Godot iOS Games on Windows: Export Project to .ipa

Export from Godot as usual, then build it on Windows like any other iOS project.

Last updated

Export an iOS project from the Godot editor, open it in VS Code, run and debug it on an iPhone, and build a Release .ipa.
Show steps for

To build Godot iOS games on Windows, export the iOS project from Godot as usual. On Windows, Godot writes an Xcode project but no .ipa, so KXBuild builds the export folder like any Xcode project, installs it on your iPhone over USB for native debugging, and a Release build produces the .ipa. Your Godot project settings stay as they are, projects exported from Godot 4 work too, and GDScript keeps using Godot's own debugger.

How do I export an iOS project from Godot on Windows and open it?

1. Develop in Godot and export an Xcode project

Develop your project in Godot as usual. Download the export templates from Editor > Manage Export Templates, add an iOS preset in Project > Export, fill in App Store Team ID and Bundle Identifier (they must match the team and App ID of the provisioning profile in your keychain/ folder, or signing fails), and export to an empty folder outside the Godot project with a file name such as MyGame.ipa. On Windows, Godot writes the Xcode project MyGame.xcodeproj instead of an .ipa.

Then open that folder in VS Code with File > Open Folder….

2. Run doctor

Doctor checks your build environment and fixes anything missing.

In the title bar of the KXBuild view, open the ··· menu and run Doctor (fix environment).

> kxbuild doctor .\MyGame.xcodeproj

How do I debug a Godot game on an iPhone?

3. Write code

Edit GDScript and scenes in Godot as usual, then export again to the same folder. Native code in the export folder gets completion and go-to-definition in VS Code.

4. Debug

Connect your iPhone over USB.

Select it in the KXBuild view and press F5. Native code gets breakpoints in VS Code, independently of GDScript debugging.

Build, install and launch the app on the phone:

> kxbuild run .\MyGame.xcodeproj

GDScript uses Godot's own debugger.

Before you connect a phone for the first time, install and open Apple Devices from the Microsoft Store to get the USB driver on Windows. On iOS 16 and later, turn on Developer Mode in Settings > Privacy & Security and let the phone restart. See connect an iPhone to Windows for the full steps.

How do I build a Godot iOS .ipa on Windows for the App Store?

5. Release

Build with the Release configuration to get an .ipa in the export folder. To upload it to App Store Connect, see publish to the App Store from Windows.

Run KXBuild: Build for App Store (.ipa) from the Command Palette or the project's context menu.

> kxbuild build .\MyGame.xcodeproj -c Release --export app-store

An App Store .ipa must be signed with an Apple Distribution certificate. Put your own .p12 certificate and .mobileprovision profile in a keychain/ folder and every build signs automatically; see sign iOS apps on Windows. Upload with kxstore (kxstore build upload, on Windows, Linux or macOS), then handle TestFlight and review on App Store Connect. That way you build Godot iOS games on Windows, debug them on a real iPhone and submit them from one computer.

Next steps

Don't see your framework?

kxbuild is a general-purpose build toolchain, so if your framework produces an Xcode project, KXBuild can build it. The list above covers common cases only. Tell us about your setup.