User Tools

Site Tools


export_and_install_ipa_on_old_ios

Can I use Apple Configurator to install that IPA to my iOS11 iPhone?

Yes—Apple Configurator can install an Ad Hoc IPA without Xcode connecting to the phone for debugging. Apple explicitly documents this installation method. Apple’s instructions

Your IPA must:

  • Actually support iOS 11, including all embedded frameworks.
  • Be signed for Ad Hoc distribution, with a valid certificate and provisioning profile.
  • Include your iPhone’s UDID in that provisioning profile.

To install:

  1. Connect the iPhone by USB, unlock it, and accept Trust This Computer.
  2. Open Apple Configurator on your Mac and select the iPhone.
  3. Drag the .ipa onto the device, or choose Add → Apps → Choose from my Mac and select it. Configurator instructions

The remaining uncertainty is whether your installed Configurator version will communicate with iOS 11. Apple’s current documentation doesn’t explicitly confirm that old version’s compatibility. Try the steps above first; if Configurator rejects the device’s OS, you’ll need an older compatible Configurator/macOS setup.

Configurator bypasses the need for Xcode’s debugger support, but it cannot make an iOS 12+ IPA run on iOS 11.

Q: How do I sign my app for Ad Hoc distribution and export it to ipa? And where do I include my iPHone's uDID in provisioning profile?

You register the UDID in your Apple Developer account, then select that device when creating the Ad Hoc provisioning profile. Xcode embeds the profile into the app when exporting the IPA.

For your iOS 11 device, use an archive built with an iOS 11-compatible toolchain, such as Xcode 13.2. Signing does not change OS compatibility.

1. Register your iPhone’s UDID

  • Connect the iPhone to your Mac and trust the computer.
  • In Apple Configurator, open the device’s information and copy its UDID.
  • Click +, choose the appropriate platform, enter a device name and its UDID, then register it.

This happens in Certificates, Identifiers & Profiles, not App Store Connect. Apple’s registration guide

2. Make sure you have a distribution certificate

In Xcode:

  • Open Xcode → Preferences → Accounts—called Settings in newer Xcode.
  • Select your Apple account and paid team.
  • Click Manage Certificates.
  • If you don’t already have a usable distribution certificate, click + → Apple Distribution.

Create it on the Mac you’ll use for exporting, so its private key is available there. An existing certificate also works if its private key is installed. Apple’s signing guidance

3. Create the Ad Hoc provisioning profile

Open Apple Developer → Profiles:

  1. Click +.
  2. Under Distribution, select Ad Hoc.
  3. Select the App ID matching your app’s bundle identifier.
  4. Select your distribution certificate.
  5. Check your iPhone in the devices list. This is where its UDID gets included in the profile.
  6. Name the profile, such as MyApp Ad Hoc, then click Generate → Download.

If your app includes extensions, each extension needs its own matching profile. Apple’s profile creation guide

4. Archive and export the IPA

In Xcode 13.2:

  1. Open your project and select the app’s scheme.
  2. Select Any iOS Device (arm64) as the destination. Your iPhone doesn’t need to be connected.
  3. Choose Product → Archive.
  4. In Organizer, select the archive and click Distribute App.
  5. Choose Ad Hoc.
  6. For a straightforward export, set app thinning to None, if offered.
  7. Choose Manually manage signing.
  8. Select your distribution certificate and the profile you created. Use Import Profile if it isn’t listed.
  9. Finish the wizard and click Export.

The exported folder contains your .ipa. Xcode signs it during this process; you don’t need a separate signing command. Apple’s distribution workflow

Then drag that IPA onto your iPhone in Apple Configurator.

If you register another device later, regenerate the profile and export the IPA again. Registering a UDID does not update profiles already embedded in exported apps.

in step 4.8 I got the error saying "Profile doesn't include the selected signing certificate" even though I've selected my Distribution certificate and the Ad Hoc provision profile I just created

That error means the exact certificate selected in Xcode isn’t included in the profile Xcode is using. Two certificates can both display Apple Distribution: Your Name while being different certificates. Profiles contain specific certificates, not just a team or certificate name. Apple’s explanation

Try this:

  1. Identify your local signing certificate. Open Keychain Access → My Certificates, find your Apple Distribution certificate, and expand it. It should have a private key underneath. Double-click the certificate and note its serial number and expiration date.

    If there’s no private key, you need to import the certificate and private key (.p12) from the Mac where it was created, or create a new distribution certificate through Xcode. Downloading a .cer alone won’t restore the private key. Apple’s signing guidance

  2. Match it to the certificate in the Developer portal. Open Certificates. If there are similarly named distribution certificates, download the relevant .cer and inspect its serial number in Keychain Access to identify the exact match.
  3. Regenerate your Ad Hoc profile with that certificate. Open Profiles, select your profile, and click Edit: - Select the matching distribution certificate. - Keep your iPhone checked in the devices list. - Save/generate and download the updated profile.

    Apple supports changing the certificate and devices when editing a profile. Profile editing instructions

  4. Import the freshly downloaded profile during export. Cancel the current export and start Distribute App → Ad Hoc → Manually manage signing again. Choose the matching certificate and use Import Profile to select the new file, avoiding a stale profile with the same name.

If your archive includes extensions, check each extension’s profile too: all must include the certificate selected for export.

You normally don’t need to rebuild the archive or revoke any certificates to fix this export-time mismatch.

export_and_install_ipa_on_old_ios.txt · Last modified: 2026/09/21 11:09 by admin