All built-in iOS apps receive an "App could not be verified" error

When I build an application from my project and deploy it to a device for debugging, it keeps getting the error "Application installation failed", "Application could not be verified".

I tried a solution from a similar topic that said "Delete old app on device and deploy again", but it didn't work. I also created a new project with one view for testing, turned off encoding in build settings, and then deployed, still getting the same error. This happened with all the projects I tried to deploy to the device.

I am using Xcode 6.4 for OS X Yosemite 10.10, deploying on iPhone 5s (jailbreak) iOS 8.4. Xcode SDKsetting.plist has been edited to allow deployment (CODE_SIGNING_REQUIRED = NO, AD_HOC_CODE_SIGNING_ALLOWED = YES).

+3


source to share


1 answer


After trial and error, I finally found a solution!

  • Follow the answer Signing bypass code with Xcode 6 .
  • Copy the value from the "Package ID" key to the target "Information" tab.
  • Open Entitlements.plist, add the "application-identifier" key with the newly copied value.


Everything now works as expected.

+3


source







All Articles