This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
export_and_install_ipa_on_old_ios [2026/09/21 11:08] admin created |
export_and_install_ipa_on_old_ios [2026/09/21 11:09] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ## 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](https://help.apple.com/xcode/mac/current/en.lproj/devade83d1d7.html) | ||
| + | |||
| + | 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](https://support.apple.com/guide/apple-configurator-mac/cad4cd08c03/mac) | ||
| + | |||
| + | **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? | ## 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? | ||
| Line 57: | Line 77: | ||
| **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. | **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](https://developer.apple.com/documentation/technotes/tn3125-inside-code-signing-provisioning-profiles) | ||
| + | |||
| + | 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](https://developer.apple.com/documentation/Xcode/sharing-your-teams-signing-certificates) | ||
| + | |||
| + | 2. **Match it to the certificate in the Developer portal.** | ||
| + | Open [Certificates](https://developer.apple.com/account/resources/certificates/list). 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](https://developer.apple.com/account/resources/profiles/list), 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](https://developer.apple.com/help/account/provisioning-profiles/edit-download-or-delete-profiles) | ||
| + | |||
| + | 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.** | ||