“Unable to Install” from Xcode: read the reason line, then fix it

Xcode built your app but the iPhone refused it: "Unable to Install". How to read the reason under the headline, and the fix for each reason it can give.

By Sigsten Gustavii· · 9 min read

Build your own reading log with Borel

Build this app

The build succeeds, Xcode starts copying the app to your iPhone, and then a dialog: "Unable to Install MyApp." Under it, a block of text most people close without reading: a Domain, a Code, a Failure Reason, a Recovery Suggestion, and sometimes a second error, "Failed to install the app on the device."

That block is the useful part. The headline is the same whatever went wrong; the lines under it name the cause. This guide shows how to read the dialog, then gives the fix for each reason it commonly shows, with links to the full guides where one exists.

How to read the dialog

Here is the shape of a real one, posted to Apple's Developer Forums in July 2025, from Xcode 16.4 with an iPhone on iOS 18.5. The app's name is in the title; everything else is the iPhone explaining itself:

The lines of an Unable to Install dialog, and what each one tells you
The lineWhat it tells you
Unable to Install "MyApp"The iPhone refused the app; nothing about why yet
Domain: IXUserPresentableErrorDomain, Code: 14The refusal came from the iPhone's installer
Failure Reason: …The cause in plain words, when there is one
Recovery Suggestion: …The technical cause, often with a code such as 0xe8008015 and its meaning
Failed to install the app on the device. Code: 3002Xcode's own summary that the install did not happen; it repeats, it does not explain

So read the Failure Reason and the words in brackets after the 0x code in the Recovery Suggestion. Then find them in the list below. Some dialogs word the title "Can't install" instead of "Unable to Install"; one posted in April 2025 did. The lines under it work the same way.

Reason: a valid provisioning profile was not found

The Recovery Suggestion ends in 0xe8008015 (A valid provisioning profile for this executable was not found). The profile inside the app, the file that says where it may run, does not cover this iPhone, or does not fit the app.

Apple's archived installation technote covers a close relative of this message: a device whose identifier is not in the app's profile, fixed by adding the device and getting a fresh profile. With automatic signing, Xcode does both for you:

  1. Connect the iPhone, unlock it and choose it in the run destination menu, not a simulator.
  2. In the target's Signing & Capabilities, check that Automatically manage signing is on and your team is chosen.
  3. If a Register button appears, click it. Apple's documentation says Xcode then registers the device and creates the development profile.
  4. Run again.

If the message started right after you opened the project in a newer Xcode, including a beta, and an older Xcode now fails, it may be the project file. The person who posted the July 2025 dialog reported that restoring the project file from before a beta changed it made the install work again. That is one report, not Apple's diagnosis, so try it only if the timing fits. If the error says no profile could be made at all, see No profiles were found, and if Xcode asks for a team, see requires a development team.

Reason: integrity could not be verified

The Failure Reason says "This app cannot be installed because its integrity could not be verified." It is the iPhone's general sentence for a signature that did not check out, and it often sits on top of one of the codes in this guide, such as 0xe8008015 above or 0xe8008018, "The identity used to sign the executable is no longer valid", with the advice to make sure the signing certificates have not expired.

Apple's Xcode Help says that with automatic signing, Xcode creates the development certificates and profiles you need when you need them, so building again with automatic signing on is the place to start. Cached profiles, duplicate certificates and the other causes are in our full guide to integrity could not be verified.

Reason: the maximum number of apps

"The maximum number of apps for free development profiles has been reached" means a free Apple ID already has three of your own apps on this iPhone, which is Apple's limit per device. Delete one of them from the phone and install again; there is no week to wait. Details in freeing a slot.

Reason: Developer Mode disabled

The message reads "Developer Mode disabled", followed by the advice to enable Developer Mode in Settings, Privacy & Security. The iPhone will not take an app installed for development until the switch is on. Turn it on, let the phone restart, confirm and enter your passcode, then run again. The switch and why it is there are covered in Developer Mode on iPhone.

Reason: the app needs a newer iOS

Every app has a deployment target, the oldest iOS it is built to run on. Apple's installation technote lists this as a cause of its own: the install fails when the app's minimum iOS version is higher than the device's. Nothing stops a project's deployment target from being newer than the iPhone in your hand, and then this is the result.

  • Find the phone's iOS under Settings, General, About.
  • Lower the deployment target in your target's settings to that version or below, as Apple's technote advises, and build again. Code that uses features from newer iOS versions may then need checks or changes.
  • Or update the iPhone, if it can take a newer iOS.

If Xcode instead says it cannot find support for the phone at all, the problem is the other way round, your Xcode being older than the iPhone: see device support files.

Reason: only "Failed to install the app on the device"

Sometimes the only text is Xcode's own summary, Failed to install the app on the device, with code 3002. It repeats that the install did not happen. Scroll the dialog: the iPhone's reason is usually above or below it. If there truly is none, these are worth trying in order:

  1. Unlock the iPhone and keep it unlocked while Xcode copies the app.
  2. Unplug and replug the cable, straight into the Mac.
  3. Restart the iPhone, and quit and reopen Xcode.
  4. Run again. If the phone has disconnected meanwhile, Xcode may say so instead: see iPhone is not available.

Reason: a copy from someone else is on the phone

Apple's archived technote also describes an upgrade being rejected because the app-identifier of the new build does not match the one of the app already installed. In plain words: a copy of the app with the same bundle identifier, signed by another team, is already on the phone. Its fix is about using the right profile; in practice the choices are to build with the same team that signed the copy on the phone, or to remove that copy, which deletes the data it holds. Giving your build a bundle identifier of its own also avoids the clash; see choosing a bundle identifier.

How to keep it from coming back

  • Keep automatic signing on for apps you run on your own phone.
  • Set the deployment target once, to the oldest iOS among the devices you use.
  • Stay with one team per app, so the copy on the phone and the new build always match.
  • Leave a slot free on a free Apple ID, so a new app does not hit the three-app limit.

Where Borel fits

Most of the reasons above are a mismatch between what Xcode built and what the iPhone accepts: the profile, the certificate, the iOS version, the count of apps. Borel's install route checks several of those before it copies anything.

Borel builds the app from your description, in Swift with SwiftUI, with Xcode on its own Mac, and you try it in an iPhone simulator in your browser, where none of these reasons can come up.

To put it on your own iPhone, Borel Companion, a free download for a Windows 10 or 11 PC or a Mac, signs the app with your Apple ID and installs it. Installing with Companion comes with a paid plan, Pro, from $25 a month.

  • It checks before it signs. Companion stops at once, with one sentence, if the app needs a newer iOS than the phone has, if the phone has too little space, if a free Apple ID already has 3 of your apps on it, or if this week's App IDs are used up.
  • It says why, in plain words. A refused install names its reason, such as "Your iPhone is locked, so unlock it and try again." or "Apple stopped accepting this computer's key for your apps, so sign out of Borel Companion and sign in again."
  • Done means on the phone. Companion calls an install finished only when the iPhone's own list of apps shows the new version; if it does not, it says the iPhone did not keep the app.
  • A cable once. The initial install goes over the cable, with Trust and Developer Mode; later versions go over Wi-Fi.

A free Apple ID works and keeps 3 of your apps at a time, and Companion signs each one again every 7 days while it runs. To see what people make for themselves, browse personal apps.

A message that describes an app, with no install dialog to read
Make an iPhone app just for me to track the books I read: title, author, a star rating and a line about each, a shelf of what I want to read next, and a count for this year. Keep it all on the phone.

The bottom line

"Unable to Install" is the iPhone refusing the app; the reason is in the Failure Reason and Recovery Suggestion lines. A missing valid profile means the phone is not covered: select it with automatic signing on so Xcode registers it. Integrity, the three-app limit and Developer Mode each have their own guide. An app that needs a newer iOS than the phone has needs a lower deployment target, or a newer iOS on the phone.

For the whole route from Xcode to your Home Screen, see how to run your Xcode app on your own iPhone.

Questions people ask

What does "Unable to Install" mean in Xcode?

Xcode built the app and copied it to your iPhone, but the iPhone refused to install it. The Failure Reason and Recovery Suggestion lines in the same dialog say why.

What is error 0xe8008015?

It means "A valid provisioning profile for this executable was not found": the profile inside the app does not cover this iPhone. Select the iPhone as the run destination with automatic signing on, and click Register if it appears.

What does code 3002 mean?

It is Xcode's summary, Failed to install the app on the device. It repeats that the install failed; the iPhone's own reason is in the lines around it.

Why does my app need a newer iOS than my iPhone has?

Its deployment target, the oldest iOS it is built for, is newer than the phone's iOS. Lower it in the target's settings, or update the iPhone.

Will a clean build fix Unable to Install?

It is the last of Apple's engineer's steps for stale profiles and certificates, after clearing them. On its own it does not fix the three-app limit, Developer Mode or an iOS that is too old.

Does deleting the app from my iPhone help?

When a copy signed by another team is in the way, yes, but it deletes the app's data. For the other reasons on this page, deleting the old copy changes nothing.

I think the headline of this dialog is the least useful line in it, and the line two rows down is the most useful.

– Sigsten

Build your own reading log

Your idea is already written. Press the button, read it, change anything, and Borel builds it, free to start.

An app just for me to track the books I read: title, author, a star rating and a line about each, a shelf of books to read next, and a count for this year.
Build this app

Keep reading