Troubleshooting: Cannot Deploy to the iOS Device

To resolve this problem, look at these areas:

  1. 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:
  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 "The program being debugged is not being run", restart your iOS device.

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