Skip to main content

Posts

Showing posts with the label Code Signing

Solved: Xcode "Unable to install the app" (Error -402620395)

  Few things break a developer's flow like a build that succeeds during compilation but fails specifically during installation on a physical device. You have likely encountered a generic alert stating "Unable to install the app," accompanied by the "Details" expansion revealing the true culprit:  Error -402620395: A valid provisioning profile for this executable was not found. This error is common, notoriously vague, and almost exclusively happens when moving from the iOS Simulator to a physical iPhone or iPad. Below is the technical root cause analysis and the definitive fix for this code signing mismatch. The Root Cause: Entitlements Mismatch To fix this efficiently, you must understand what iOS is rejecting. The error is rarely about the profile being "missing" in the literal sense; it is usually present but  invalid for the current operation . When you click "Run" in Xcode, two distinct actions occur: Installation:   installd  moves the b...