Preparing an iOS Application for Deployment

From RAD Studio
Jump to: navigation, search

Go Up to iOS Mobile Application Development


Before you build your application for distribution on iOS platforms, you must configure several project options of your application.

The properties that you configure are bundled with your application, usually in the form of .plist files. You cannot modify these properties after you build and sign your application. Because these properties provide key information about your application, you should ensure that they contain the right values before you deploy your application, or you might have to rebuild your application in order to change the configured values.

To configure your iOS app, select Project > Options:

  • On the Target field of the Project Options dialog box, select an iOS device target platform. As build configuration you may select All configurations.
    Notes:
    • To submit your application to the App Store, you must configure these properties for the iOS Device - 64 bit target platform. The values of these deployment properties for the iOS Device - 32 bit target platform have no effect on applications built for the App Store, regardless of whether or not your application supports 32-bit iOS devices. See Deploying Your iOS Application for Submission to the App Store for more information.
    • If you want to deploy your application for ad hoc distribution, and you want to build separate binaries for 32-bit and 64-bit iOS devices, you must perform the following steps for both the iOS Device - 32 bit and iOS Device - 64 bit target platforms.
  • On the Application page, provide the icons and images to represent your application.
  • On the Entitlement List page, assign the entitlements (system access rights) that you want for your application.
  • On the Version Info page, define key-value pairs to include in the info.plist file of your application. For example:
    • CFBundleIdentifier is a unique identifier for your application.
      You should already have an App ID for your application. You should provide here the second part of your app ID, the bundle ID. For example: com.mycompany.myapp.
    • CFBundleVersion is the version of your application. For example: 1.0.0.
    • UIDeviceFamily determines the type of iOS devices that your application supports:
      • iPhone
      • iPad
      • iPhone and iPad

If you need to customize your info.plist file, see Customizing Your info.plist File.

See Also