Search code examples
iosxcodeosx-yosemitejailbreakios8.4

All built iOS apps get error "The application could not be verified"


When I build the app from my project and deploy it on device for debugging, it keeps getting error "App installation failed", "The application could not be verified".

I tried the solution from similar topic which said "Delete old app on device and deploy again" but didn't worked. I also created new single-view project to test, disable codesign in build setting then deploy, still getting the same error. It happened to every projects I tried to deploy app on device.

I'm using Xcode 6.4 on OS X Yosemite 10.10, deploy to iPhone 5s (jailbreak) iOS 8.4. Xcode's SDKsetting.plist was edited to allow deploying (CODE_SIGNING_REQUIRED=NO, AD_HOC_CODE_SIGNING_ALLOWED=YES).


Solution

  • After trial and error, I finally found the solution!

    1. Follow the answer from Bypass code signing with Xcode 6.
    2. Copy value from key "Bundle identifier" in target's "Info" tab.
    3. Open Entitlements.plist, add "application-identifier" key with recently copied value.

    Now everything works as expected.