"This app cannot be installed because its integrity could not be verified": the fixes

The iPhone refused the install because the app's signature did not check out. The causes for Xcode, TestFlight and shared builds, each with a fix.

By Sigsten Gustavii· · 10 min read

Build your own reading log with Borel

Build this app

The install stops with one sentence: "This app cannot be installed because its integrity could not be verified." It sounds as if the app were corrupt. Usually it is not the app at all, but the signature attached to it.

This guide explains what the iPhone checks during an install, then goes through the fixes by where the app came from: Xcode, a tool that signs with your Apple ID, TestFlight, or a build someone shared with you.

What the message means

An iPhone does not run code it cannot account for. Apple's technote on provisioning profiles lays out the rule: all third-party code must be authorized by Apple, and outside the App Store that authorization is a provisioning profile, a small signed file inside the app. When an app arrives, the device checks that the profile is genuine and that the app meets what it says.

The five things a provisioning profile settles, from Apple's technote TN3125
QuestionWhat the iPhone checksHow it goes wrong
Who signed it?The certificate is one the profile namesThe certificate expired, was revoked or was replaced
Which app is it?The app's identifier matches the profile's App IDThe identifier was changed after the profile was made
Where may it run?This device is on the profile's listThe build was made for other devices
Until when?The profile has not expiredAn old build, or a free account's 7 days
What may it use?Every permission the app claims is in the profileA capability the account is not allowed

Any of the five can end in this sentence; Apple does not say which. So the work is finding out, and where the app came from narrows it quickly.

This is a different check from the two messages people meet after an app is installed. "Untrusted Developer" and "Unable to Verify App" appear when you open an app, and are settled in Settings. This one stops the install itself, and nothing in Settings fixes it.

Before anything else: two quick checks

  • Did it ever install on this device? If the same build installs on your phone and fails on another, the build is fine and the other device is not covered by it. Go to the section on shared builds.
  • Did it work yesterday? If nothing changed on your side and installs suddenly fail, for you and for others, the cause may be Apple's. That has happened to TestFlight more than once. Check the Developer Forums before you rebuild your signing.

Restarting the iPhone and trying the install once more costs a minute and is worth doing, though no Apple page promises it helps.

If you installed from Xcode

When the install comes from Xcode, the details are in Xcode's own error window. Click the error and read past the opening sentence. People who post the log to Apple's forums find a second line there, such as a failure to verify the code signature because the identity used to sign is no longer valid, along with Apple's hint to make sure the signing certificates have not expired.

An engineer from Apple's Developer Technical Support, answering this exact message, names the two usual culprits: "invalid cached provisioning profiles and invalid certificates." His steps, in order:

  1. Clear the cached profiles. Quit Xcode. In Finder, open the folder where Xcode keeps provisioning profiles: Library/Developer/Xcode/UserData/Provisioning Profiles in your home folder for Xcode 16 and later, Library/MobileDevice/Provisioning Profiles for older versions. Move the files in it to a temporary folder.
  2. Remove duplicate certificates. Open Keychain Access and search for Development. If the same certificate appears more than once, or one is marked invalid, delete the extras and keep the one with the latest expiry date.
  3. Do a clean build. Open the project, clean it, then run the app on the iPhone again. With automatic signing on, Xcode creates the profile again.

Two more things to look at in the Signing & Capabilities pane while you are there. Make sure the team is the one you expect, since a project copied from someone else still carries their team. And if you sign with a free Apple ID, remove capabilities that Apple keeps for paid members, such as push notifications or iCloud, because an app that claims a permission its profile does not grant fails this check.

If none of that works, the same engineer's advice is to open a code-level support request with Apple, which is part of the paid Developer Program.

If a tool signed the app with your Apple ID

Tools that sign and install with your own Apple ID, on a Mac or a PC, create the same certificate and profile Xcode would. When the phone refuses their install, the fix is to make them start over:

  1. Install again. Use the tool's reinstall button, so the app is signed afresh.
  2. Sign out of the tool and sign in again. This usually makes it create a new signing certificate. It is the cure when the old one was revoked, which is commonly reported after signing in to another signing tool with the same Apple ID.
  3. Only if the two steps above fail, and only after you have saved what the app holds: delete the old copy from the iPhone, then install. It is commonly reported that an app already on the phone under the same identifier, signed by a different Apple ID or tool, blocks the new one. Deleting an app removes its data.
  4. Check the 7 days. With a free Apple ID, Apple says profiles expire 7 days from issuance. A copy of the app signed more than a week ago will not install today; it has to be signed again.

If the app came from TestFlight

A TestFlight build is processed by Apple after you upload it, so there is little a tester can get wrong. When this message appears in TestFlight, the history on Apple's forums is instructive. In February 2022 and again in December 2022, many developers saw it at once. Recreating certificates and profiles did not help anyone. Apple staff replied that they were investigating, then that it was fixed on Apple's side, and added the advice that still applies:

  • Upload a new build. Apple called this the fastest resolution for builds caught in the problem.
  • Update the TestFlight app on the iPhone to its newest version.
  • Wait, if it is widespread. If other developers report the same thing the same day, it will be fixed without you.
  • Report it through Feedback Assistant if it stays, which is what Apple asked for.

Apple said the 2022 problem hit apps that contained extensions and were being installed on a device that did not have them yet. If your app has a widget and only new testers fail, mention that in your report.

If someone shared the build with you

A build made for particular devices only installs on those devices. Apple's technote says most profiles apply to a specific list of devices, and an Ad Hoc build, the kind a developer exports to hand to a few people, is exactly that. Members of the Developer Program register each device before building.

So when a build installs on the developer's phone and shows this message on yours, the likely reason is that your device is not on its list. One such case sits unanswered on Apple's forums: a link that worked on the maker's device and failed on a third. The fix is on the developer's side:

  1. Send the developer your device's identifier, the UDID.
  2. They add the device to their account and make the profile again.
  3. They build and share the app again. The old file will never install on your device.

If more than a few people need the app, TestFlight is the easier route for everyone, because testers are invited by email and no device has to be registered. And if the file came from a website that offers apps outside the App Store, do not look for a way to force it. The message is the iPhone doing its job.

What will not fix it

  • Trusting the developer in Settings. That screen is for apps that are already installed.
  • Turning Developer Mode off and on. Developer Mode decides whether a development app may open, not whether its signature is valid.
  • Installing the same file again and again. If the signature is wrong for this device, it stays wrong. Something has to be signed again.
  • Erasing the iPhone. The problem is in the app's signature, not on the phone.
Three messages about your own app that are easy to mix up, checked 19 November 2026
MessageWhen it appearsWhere it is fixed
Integrity could not be verifiedWhile installingBy signing the app again
Untrusted DeveloperWhen opening the appSettings, VPN & Device Management
Unable to Verify AppWhen opening the app, with no route to AppleGet online and tap Verify App

How Borel Companion handles a refused install

Borel builds real native iPhone apps from a description on its own Mac, and publishes them to the App Store with Pro. For your own iPhone, Borel Companion signs each one on your Windows PC or Mac with your own Apple ID before installing it on your iPhone. Installing with Companion comes with a paid plan, Pro, from $25 a month, and a free Apple ID works. Each install is signed at that moment, on your computer, with your Apple ID, for the iPhone you picked.

When the iPhone still says no, Companion does not pretend otherwise. It counts an install as done only after it has asked the phone and found the app there with the build it sent. If the phone refuses, it says so in one sentence and names the next step: press Reinstall, and if that fails, sign out of Companion and sign in again. If Apple has stopped accepting the key Companion signs with, it tells you that and asks you to sign in again, which makes a new one.

You can also try an app before any of this matters: the iPhone simulator in your browser runs it with no signing on your side at all. And the routes that never show this message to the people you share with are Apple's own, TestFlight and the App Store, which need the Developer Program, $99 a year; see install your app on iPhone without the App Store for the comparison.

A message to remove what a free Apple ID cannot sign
My app would not install on my iPhone, and I think it is because of a feature a free Apple ID cannot use. Please list every place the app uses push notifications, iCloud or Sign in with Apple, and replace each with something that works on the phone alone.

The bottom line

"Its integrity could not be verified" means the signature check at install time failed: the wrong or an expired certificate, a profile that does not cover this device or has run out, or a permission the profile does not grant. From Xcode, clear cached profiles and duplicate certificates and build clean. From a signing tool, reinstall, then sign out and in. From TestFlight, upload a new build and check whether Apple is having a bad day. And for a build someone sent you, ask them to add your device.

If the limits of a free Apple ID are behind it, the full list is in free Apple developer account limitations.

Questions people ask

What does "its integrity could not be verified" mean on iPhone?

The iPhone checked the app's code signature and provisioning profile during the install and something did not match: the certificate, the device, the expiry date or a permission. The app is refused before it is installed.

How do I fix it in Xcode?

Apple's support engineers point to stale cached provisioning profiles and duplicate or invalid certificates. Move the cached profiles out of Xcode's folder, delete duplicate certificates in Keychain Access, then do a clean build and run again.

Why does TestFlight say the integrity could not be verified?

It has been a problem on Apple's side more than once. Apple's advice was to upload a new build and update the TestFlight app. Recreating certificates did not help.

Why does the app install on one iPhone and not on another?

Builds shared outside TestFlight are signed for a list of devices. The likely cause is that the second device is not in the build's provisioning profile. The developer has to add it and build again.

Is my app or my iPhone damaged?

No. The message is about the app's signature. Nothing on the phone is harmed, and the same app usually installs once it has been signed correctly.

Is this the same as Untrusted Developer?

No. Untrusted Developer appears when you open an installed app and is fixed in Settings. This message stops the install itself and is fixed by signing the app again.

Can a free Apple ID cause it?

It may: a copy signed more than 7 days ago has an expired profile, and an app that uses services kept for paid members claims permissions a free profile does not grant.

I find this one of Apple's less helpful sentences, because it names none of the five things that could be wrong. I hope the list above saves you the guessing.

– 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 where I log the books I read, with a rating, a few notes and the date I finished, and a yearly count, all saved on my phone with no account.
Build this app

Keep reading