Skip to content

Publish your game to iOS

GDevelop can automatically package your game for iOS so that you can test it on your iPhone. GDevelop is also able to automatically send it to the App Store Connect, the website where you can publish your game on the App Store and send it to your iPhone or to other testers using TestFlight.

Note

GDevelop cloud builds, which includes automatic packaging for Android, iOS and desktop, are part of GDevelop memberships. Check the GDevelop website to compare the different plans and which one will work best for you.

Making sure that your game is ready for packaging

It is important to verify that your game is ready to be exported for iOS:

  • In the game properties that are accessible from the Project Manager), make sure to enter a valid package name. A package name is an identifier like this: com.yourname.gamename. It's like the address of a website but reversed. You can choose any package name provided that:

    • It is not used by another game or application on iOS or Android.
    • It is written with only letters, numbers, and dots. Only put one dot between words (for example, com..mygame or ..mygame are not valid). Limit this identifier to 2-5 words maximum.
    • You properly registered it on the App Store Connect website, if you want to publish it on the App Store.
  • Also check that you've included the required icons.

Warning

If you don't use the same package name in your project properties and in your Apple Developer accounts setting ("App Id"), the iOS builds won't work.

Create your Apple Developer account

Open your Apple Developer account on Apple Developer website. If you want to distribute your app on the App Store, this page explains how to enroll your Apple ID in the Apple Developer Program and pay the annual fee to Apple.

Launch export

Click on the Share button in the GDevelop toolbar, then choose iOS and One-click packaging.

Choose if you want to package the game for testing it on an iPhone or an iPad, that was registered on your Apple Developer account, or if you want to publish it to App Store Connect - so it can be tested using TestFlight and then reviewed and published on the App Store.

Create a new certificate

To make sure that your game can be run on an iPhone or iPad, you need to create a certificate (one for development and one for distribution on the App Store). GDevelop will guide you through the process:

In the page to do the one-click packaging for iOS, click on Add new.

  • You first need to create a Certificate Signing Request (CSR). Enter your full name (or organisation name), country and press Create request. Then, click on the button to download the CSR.
  • Go to the Apple Developer certificate page and click on the + button.

  • Choose either Apple Development (for testing on your iPhone/iPad) or Apple Distribution (for the App Store/TestFlight) and then Continue.

    Choose type of certificate

  • Upload the CSR file you downloaded in the previous step.

  • Finally, download the certificate (.cer file) that was generated by Apple.

  • Go back in GDevelop and upload the certificate you just downloaded.

Your certificate is now ready to be used by GDevelop. You now need to create a provisioning profile that will allow your game to be run on your iPhone or iPad (in case you created a Apple Development certificate), or sent to the App Store (in case you created a Apple Distribution certificate).

Register your device (for testing on your iPhone/iPad)

Note

You can skip this step if you want to publish your game on the App Store only or if you're willing to test your game on your iPhone/iPad via TestFlight only. This being said, being able to test on your device via a "Development" build can be faster than waiting for TestFlight to process your game.

Before creating a provisioning profile, you need to register your device. You can do this by going to the Apple Developer devices page and clicking on the + button.

Once you have the UDID, copy and paste it in the field and click Continue.

Create a provisioning profile

To create a provisioning profile, go to the Apple Developer provisioning profile page and click on the + button.

Add a provisioning profile from the Apple Developer website

  • Choose either iOS App Development (for testing on your iPhone/iPad) or App Store Connect (for the App Store/TestFlight) and then Continue.

Choose provisioning type

  • Choose XCode iOS Wildcard App ID and then Continue.
  • Choose the certificate you created previously. If you don't see any certificate, you probably have mismatched the kind of certificate you created (development or distribution).
  • For a profile used for testing on your devices, you'll be asked for checking the devices that you want to test on.
  • Finally, click on Continue to create the provisioning profile. Download it.
  • Go back to GDevelop and upload the provisioning profile you just downloaded.

You can now close the window to create the certificate/provisioning profile. Your certificate and provisioning profile should be listed. You can close the window and start packaging your game for iOS.

Testing your game on your iPhone/iPad after the build is finished.

Once a build is finished, an IPA file is generated. The way to use it is different according to whether you want to test it on your iPhone/iPad or on the App Store.

If you want to test it on your iPhone/iPad, you need to install the IPA file on your device. You can do this using Finder on your macOS computer or iTunes on Windows or macOS. Read below to learn how to do it.

Note

If you want to test it on the App Store, you need to upload the IPA file to the App Store Connect website. This can only be done with a macOS computer using the Transporter app. Instead, it's easier to configure the app first on the App Store Connect website and then set up an authentication key to automatically send your game to the App Store Connect website. See the next section for more information.

Connect your iPhone/iPad to your computer using a USB cable.

  • On a macOS computer, open Finder on your computer and navigate to the folder where the IPA file is located. Drag'n'drop the IPA file on the iPhone/iPad icon in the Finder window.
  • On a Windows computer, open iTunes and connect your iPhone/iPad to your computer. Then, navigate to the folder where the IPA file is located. Click the "Apps" tab in the left sidebar menu. If the left sidebar is not visible, click the "View" tab in the top navigation menu, then click "Show Sidebar." Drag'n'drop the IPA file on the iPhone/iPad icon in the iTunes window. Connect your iPhone/iPad to your computer and click "Sync" in the iTunes window.

Publish to the App Store

To automatically publish your game on the App Store, you can set up an authentication key, enabling GDevelop to automatically send your game to the App Store Connect website. You will be able to set up the app and testers, including yourself, to test your game through the TestFlight app.

Read this page about testing and publishing your game on the App Store.