Deploying V-Play Games & Apps to iOS

Overview

V-Play 2 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 V-Play games & apps to iOS mobile devices.

Live Code Reloading on iOS During Development

You can test your code on Android without any additional installation, using the V-Play Live Scripting app. Download the app on Android0 or iOS and connect it to your V-Play Live Server. You can find more info here.

Add V-Play Packages for iOS Platform

The V-Play 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 V-Play SDK. The executable is called SDKMaintenanceTool.

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

iOS Deployment

With the transition to V-Play 2 you can deploy your games locally to iOS devices such as iPhones and iPads.

Note: iOS local deployment needs a macOS development machine with macOS 10.12 or OS X 10.8 and above.

V-Play 2 supports deployment to iOS 5.0 or later, including the following devices:

  • iPhone 3GS and later
  • iPod Touch third and later generations
  • iPad 2 and later
  • iPad Mini

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.

iOS Developer Program

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

If you also want to deploy your game 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 Qt.io: Setting Up the Development Environment.

Build Your 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 Connecting iOS Devices guide if you can't find your device in Organizer.

  2. 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.

  3. 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 game on real device(s), you can continue and publish your game in the app stores. See Publishing V-Play Games & Apps how to do this.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support