- Select manual -

The mobile development app

The development app is a very convenient bare bones version of the engine that allows you to push content to it over wifi. You install the development app on your device(s), start the app and then select the device as a build target from the editor.

Signing the development app (iOS)

Currently, at least one team member needs to run macOS and act as signer. The signer needs a code signing identity certificate installed on his/her computer. The signer also needs a mobile provisioning profile on his/her computer. (Note that the auto generated free provisioning profile Xcode can generate is only valid for one device)

To upload a signed development app to the Defold Dashboard, the following steps are required:

  • In the editor, select Project ▸ Sign iOS App…
  • Select your code signing identity.
  • Browse for your mobile provisioning file.
  • Press the Sign button.

Signing the app

The Defold dev app is uploaded to the project page on the Dashboard. Each project member can now:

  • Browse to the Dashboard from their iOS device.
  • Open the project page from the list of projects.
  • Click the link Install the Defold App, which can be found below the Members section.

install the app

Installing the development dmengine (Android)

A stand-alone version of the Defold engine is available as a ready made .apk file that you can install on a device and use for iterative development wirelessly.

  • Visit http://d.defold.com where Defold downloads can be found.
  • Click on the version you want to download to expand a list of available engine builds.
  • Select engine/armv7-android/dmengine.apk for a debug enabled build for the Android platform (Armv7).

Download dmengine

Download the file, then issue the following adb command from the location of the .apk:

$ adb install dmengine.apk
4445 KB/s (8706017 bytes in 1.912s)
    pkg: /data/local/tmp/dmengine.apk
Success

The development “dmengine” app is now available on the device.

dmengine on the device

Launching your game

To launch your game on your device, the dev app and editor must be able to connect, over the same wifi network.

  1. Make sure the editor is up and running.
  2. Launch the dev app on the device.
  3. Select your device under Project ▸ Targets in the editor.
  4. Select Project ▸ Build And Launch to run the game. It may take a while for the game to start since the game content is streamed to the device over the network.
  5. While the game is running, you can use hot reloading as usual.

launch

Troubleshooting

Unable to download application
Make sure the your device UDID is included in the mobile provisioning that was used for signing the app.
Your device does not appear in the Targets menu
Make sure that your device is connected to the same wifi network as your computer.
The game does not start with a message about mis-matching versions
This happens when you have upgraded the editor to the latest version. On iOS you need to sign the app again (Project ▸ Sign iOS App…) which creates a new dev app from the current engine version. Then download the new app from the dashboard onto your device. On Android you will need to download a new dmengine.apk and install it on your device.
flag en English

Welcome!

You are just one step away from creating awesome games!

You need a Google account to use Defold