iOS development differs from Android development in that you have to be a registered developer to be able to put apps or games on an iOS device, even during development. iOS requires that all apps that are out on a phone or tablet are signed with an Apple-issued certificate and provisioning profile.
The security associated with iOS apps consists of several components. To get access to the required tools, you need to sign up to the Apple’s iOS Developer Program. When you have enrolled, go to the Apple’s Developer Member Center.
The section Certificates, Identifiers & Profiles contains all the tools you need. From here you can create, delete and edit:
some.prefix.*) which can be used with several apps. App IDs can contain Application Service information, like if the app enables Passbook integration, the Game Center, etc. Such App IDs cannot be wildcard identifiers. For Application Services to function, your application’s bundle identifier must match the App ID identifier.
When signing your games and apps in Defold, you need a valid certificate and a valid provisioning profile.
Some of the things you can do on the Member Center homepage you can also perform from inside the XCode development environment—if you have that installed.
The UDID for an iOS device can be found by connecting the device to a computer via wifi or cable. Open up iTunes and click on the devices symbol. Select your device.
On the Summary page, locate the Serial Number.
Click the Serial Number once so the field changes into UDID. If you click repeatedly, several pieces of information about the device will show up. Just continue to click until UDID shows. Right-click the long UDID string and select Copy to copy the identifier to the clipboard so you can easily paste it into the UDID field when registering the device on Apple’s Developer Member Center.
The development app is a very convenient 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.
Currently, at least one team member needs to run OS X and be a registered Apple Developer in order to sign the development app for other team members. We will call this person the signer.
To upload a signed development app to the Defold Dashboard, the following steps are required:
The Defold dev app is uploaded to the project page on the Dashboard. Each project member can now:
This video shows the whole process:
To launch your game on your iOS device, the Defold dev app and editor must be able to connect, over the same wifi network.
You can also easily create a stand alone application bundle for your game from the editor. Simply select Project ▸ Bundle… ▸ iOS Application… from the menu.
Select your code signing identity and browse for your mobile provisioning file. Press Package and you will then be prompted to specify where on your computer the bundle will be created.
The editor writes an .ipa file which is an iOS application bundle. This file you can drag and drop into iTunes and it will install on your device during the next sync. You can specify what icon to use for the app, the launch screen image and so forth on the game.project project settings file.