Troubleshooting: Cannot Deploy to the iOS Device

To resolve this problem, look at these areas:

  1. Delphi only: If you have not run your iOS app on the iOS Simulator, make sure you satisfy the requirements here:
  2. Make sure your iOS device is connected to your Mac by USB cable.
  3. Specify the iOS Device as the target platform in the Project Manager.
  4. Complete the Provisioning page. (Your developer certificate is required for code signing)
  5. Set the required Project Options for your iOS app:
  6. Install the Xcode command-line tools on your Mac. (Required for code signing your iOS app)
  7. Upgrade Xcode if there is a newer version available. (Required after you upgrade your iOS device)
  8. If you get an error dialog with the error message "Unable to install package" followed by an error code, perform the appropriate steps as described here:
    • e8000018: Your certificate is out of date. Download a new version of your certificate.
    • e800001c: If the iOS simulator is running on your Mac, close the simulator and try to run your application on your iOS device again.
    • e800002d: Restart your iOS device. See this related Apple Support Communities thread for more information.
    • e800007e: Your iOS device version is lower than the default minimum version.
      Select Project > Options > Delphi Compiler > Linking and change Minimum iOS version supported to the version of your iOS device. For example: 5.0. (If this does not work, you might need to acquire a newer iOS device.)
    • e8000080: You are trying to run your iOS application on an iOS device that does not match the iOS form factor (UIDeviceFamily) defined for your project. For example, you might be trying to run your iOS application on an iPad, but your application is configured to run on an iPhone only.
      Select Project > Options > Version Info and choose a UIDeviceFamily value that matches your iOS device. For example, choose iPhone & iPad to run your application on any iOS device.
    • e8008015: The target iOS device has not been provisioned with the provisioning profile that you configured in RAD Studio.
      Either provision the target device with the configured provisioning profile, or change the RAD Studio project configuration to a different provisioning profile. See Completing the Provisioning Page.
      Ensure that your provisioning data in RAD Studio matches your iOS developer account, and not your Mac developer account. Be specially careful when you specify your iOS developer certificate name.
    • e8008018: Your certificate is out of date. Download a new version of your certificate.
  9. If you get an error dialog with the error message "Unable to locate DeviceSupport directory matched with connected device info":
    1. Open Xcode on your Mac.
    2. From the main menu, select Window, Organizer.
    3. On the Organizer, select your iOS device on the left-hand side of the window.
    4. Wait for the yellow dot to turn green. When it does, you can close Xcode and try to run your application again.
  10. If you get an error dialog with the error message "Application bundle should have Info.plist inside", select Project > Build > ProjectName to regenerate the Info.plist file.
  11. If you get an error dialog with the error message "The program being debugged is not being run", restart both your iOS device and your Mac.

If you see an error entry with an error code in the Messages tool window, on the bottom of the RAD Studio interface, select that entry and press F1 to open the help for that error.

For more information, see these help topics