Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Deploying Felgo Apps to iOS

Overview

Felgo 4 currently supports local development and deployment for the desktop platforms Windows, macOS & Linux and for the mobile platforms Android, iOS, Windows Phone & Windows Runtime.

This guide describes how to deploy Felgo apps & games to iOS mobile devices.

Live Code Reloading on iOS During Development

You can test your code on iOS and other platforms without any additional installation, using the Felgo Developer App. Download the app on Android or iOS and connect it to the Felgo Hot Reload application. You can find more info here.

Felgo Cloud Builds CI/CD Service for iOS and other platforms

Boost your Qt and Felgo development with continuous integration and delivery for Qt and Felgo projects. As the only CI/CD exclusively for Felgo/Qt, it enables you to build and distribute apps with minimum effort and maximum speed.

Visit Felgo Cloud Builds.

You can find more info here.

Add Felgo Packages for iOS Platform

The Felgo installer only installs the packages for your desktop system initially. You can add other packages via the Maintenance Tool. The Maintenance Tool is located at the installation directory of your Felgo SDK. The executable is called MaintenanceTool.

Run this application and select Add or remove components and then choose the platforms you want to add.

iOS Deployment

With Felgo 4 you can deploy your apps locally to iOS devices such as iPhones and iPads.

Note: iOS local deployment needs a macOS development machine with macOS 12.5 and above.

Felgo 4 supports deployment to iOS 13.0 and above (arm64 architecture and simulator).

Install Required iOS Components

For local iOS development and deployment you need a version of Xcode installed. You can install it from the Mac App Store following this link. Felgo supports Xcode 14.1 and higher. We recommend to use the latest Xcode version. See Apple Developer News in case you want to read about current and upcoming requirements.

iOS Developer Program

You can already deploy your apps on iOS Simulator which is packaged with Xcode.

If you also want to deploy your app to a real iOS device you additionally need to enroll in the iOS Developer Program, which can be found here. You then have to create development certificates, register your development devices at Apple and create a valid provisioning profile for your app. You can find more information on provisioning your app on iOS devices here.

Note: Please also have a look at Setting Up the Development Environment.

Build Your App or Game for iOS

  1. As a first step check that your device got successfully connected with your Mac and that it is ready for development. For this open Xcode, open the Organizer window from the Window menu and check for a green dot to the right of your device.

    Note: Please have a look at the official

  2. Qt.io: Connecting iOS Devices guide if you can't find your device in Organizer.
  3. Add the iOS target to your project:
    1. When creating a new project make sure to select the iphoneos-clang and/or iphonesimulator-clang targets, depending on your needs.

    2. If you want to build for your existing project you can add the iOS targets after opening your project in Qt Creator: select the left Projects tab and click on the button Add Kit. You can then again add the iphoneos-clang and/or iphonesimulator-clang targets, depending on your needs.

  4. You can then select your iOS target and iOS development device from the build menu in the bottom left corner of Qt Creator and hit the build button.

Official iOS Guides

For further information please also have a look at:

Publish Your Game on iOS

After you tested your app on real device(s), you can continue and publish your app in the app stores. See Publishing Felgo Games & Apps how to do this.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded