iOS Mobile Application Development
Go Up to Cross-Platform Applications Index
- 1 Hardware Requirements
- 2 Preparing Your Development Environment
- 3 Developing Your Application
- 4 Preparing to Code Sign Your Application
- 5 Running Your Application
- 6 Deploying Your Final iOS Application
- 7 iOS Topics
- 8 See Also
The FireMonkey framework and the Appmethod IDE provide the tools you need to develop applications that target the iOS platform. Using FireMonkey, you can create an iOS application and deploy it to either the iOS Simulator (Object Pascal) or the iOS Device (Object Pascal).
File > New > Mobile Application - Object Pascal
The procedure for developing iOS apps in Appmethod is generally the same as the procedure for developing Android apps in Appmethod. One significant difference is that PAServer and connection profiles are required for iOS development, whereas they are not used for Android development. Both iOS and Android require the addition of an SDK for the target platform.
|Comparison of Development Requirements for iOS and Android|
|iOS Requirements||Android Requirements|
Does not apply.
Does not apply
Does not apply.
Install the USB driver for your Android device and connect to your Android device by USB connection
Does not apply.
Verify or set the Uses Permissions needed for your Android mobile app
In addition to your development PC, you need the following to develop mobile applications for iOS:
- A Mac running OS X
- An iOS device, connected to your Mac by USB cable
See FireMonkey Platform Prerequisites for a list of system requirements for your development PC and for the Mac.
Both the Mac and your development system must be on a common network, such as a local area network.
Preparing Your Development Environment
Working with a Mac and a PC
When you develop applications for iOS, in addition to your development system, you need to use the Mac for installing iOS development and distribution certificates, for running the Platform Assistant, as well as for other necessary tasks detailed below.
There are several ways you can configure a PC and a Mac to work together. See Working with a Mac and a PC to decide which configuration works best for you, and to learn how to apply that configuration to your development environment.
Configuring the Mac
On the Mac, you need to do the following:
- Install Xcode.
- From Xcode, install the Xcode Command Line Tools, which are required to sign your applications, so you can run them on an iOS device.
- Install the Platform Assistant. The Platform Assistant, distributed with Appmethod, allows the IDE to pull the iOS SDK files from the Mac, and to run your applications on iOS devices connected to the Mac.
- Run the Platform Assistant. Appmethod needs you to have the Platform Assistant running in your Mac to run, debug or deploy your application for the iOS Device and the iOS Simulator target platforms.
Configuring Your Development System
On your development system, open Appmethod and do the following:
- Create a connection profile for the OS X platform, which is an intermediate platform that supports both the iOS Device and the iOS Simulator target platforms.
- You need this connection profile to allow the IDE to connect to the Platform Assistant, running on the Mac.
- Add an SDK to the IDE for the iOS Device target platform. Appmethod creates in your development system a local file cache of the iOS SDK from the Mac, so you can build your applications for iOS locally.
Developing Your Application
To create a new FireMonkey mobile application in Appmethod, select File > New > Mobile Application - Object Pascal, select one of the choices, and click OK. For information about the different choices, see Types of FireMonkey Mobile Applications You Can Create. The default target platform of Object Pascal mobile applications is Android, although both the iOS Device and the iOS Simulator target platforms are available in new Object Pascal mobile applications.
The best way to get started with iOS application development is to follow the mobile tutorials: Mobile Application Development (iOS and Android).
Preparing to Code Sign Your Application
- Note: You do not need to be able to sign your application in order to run it on the iOS Simulator.
In order to run your application on an iOS device or distribute your application to others, you must:
- Join one of the iOS developer programs. Membership in either of the iOS developer programs allows you to obtain from Apple all the necessary certificates and tools to run and deploy applications for iOS devices.
- Acquire an iOS developer certificate, which is necessary to sign your application.
- Provision your application, so you can run it on your iOS devices.
Running Your Application
The following pages describe the required steps to run your application on the iOS Simulator or the iOS Device target platforms:
Deploying Your Final iOS Application
Before each release of your iOS application, you should check that every setting is properly configured. See Preparing an iOS Application for Deployment.
After your iOS application is ready for final deployment, you can choose from two different methods to distribute your application: Ad hoc distribution or Application Store distribution.
- The steps to deploy your application vary depending on the chosen distribution method:
- Deploying Your iOS Application for Ad hoc Distribution
- Deploying Your iOS Application for Submission to the App Store
For additional information about these distribution methods, see the Apple documentation.
- Preparing Your Development Environment:
- Migrating Object Pascal Code to Mobile from Desktop
- Creating an iOS App
- Form Factor Settings in Appmethod
- ShowModal Dialogs in FireMonkey Mobile Apps
- Mobile Code Snippets
- Preparing to Sign Your Application:
- Running Your Application:
- Deploying Your Application:
- Using Styles for iOS: Multi-Resolution Styles, and the Black and Transparent Styles
- Using iOS 7
- Mobile Tutorials: Mobile Application Development (iOS and Android)
- Setting Up Your Development Environment for the iOS Device:
- Using Basic Interface Elements:
- Mobile Tutorial: Creating a Mobile Application (iOS and Android)
- Mobile Tutorial: Using a Button Component with Different Styles (iOS and Android)
- Mobile Tutorial: Using a Calendar Component to Pick a Date (iOS and Android)
- Mobile Tutorial: Using Combo Box Components to Pick Items from a List (iOS and Android)
- Mobile Tutorial: Using the Web Browser Component (iOS and Android)
- Mobile Tutorial: Using Tab Components to Display Pages (iOS and Android)
- Mobile Tutorial: Using ListBox Components to Display a Table View (iOS and Android)
- Mobile Tutorial: Using Layout to Adjust Different Form Sizes or Orientations (iOS and Android)
- Using Device Functionality:
- Accessing a Database:
- FireMonkey Platform Prerequisites
- Wizards for Creating FireMonkey Cross-Platform Applications and Components
- Mobile Application Templates
- Differences between Windows and Other Platforms
- Android Mobile Application Development
- Mac OS X Application Development
- PAServer, the Platform Assistant Server Application
- EDN: iOS User Interface Design with Object Pascal XE4