Application could not be verified error when building app for iPhone device

后端 未结 11 769
后悔当初
后悔当初 2020-12-08 13:30

OK, I\'ve just got myself a shiny new MacBook Pro, and having been developing my iPhone app on another MacBook, I wanted to migrate my development to my new computer.

<
相关标签:
11条回答
  • 2020-12-08 14:00

    "The application could not be verified" , in your device there could be already an app installed with the same bundle identifier.

    I got this issue because my had app from App store& I was testing its update Version from Xcode.& with same identifier as in my live app .

    So Simple solution Just delete the App & install again.. ....

    0 讨论(0)
  • 2020-12-08 14:01

    From this thread on ADC:

    get-task-allow, when signed into an application, allows other processes (like the debugger) to attach to your app. Distribution profiles require that this value be turned off, while development profiles require this value to be turned on (otherwise Xcode would never be able to launch and attach to your app).

    0 讨论(0)
  • 2020-12-08 14:01

    Check if your iPhone properly provisioned. You may connect iPhone and launch Organizer from XCode (Main Menu -> Window -> Organizer) and then check PROVISIONING PROFILES information.

    After that you need to match Bundle Identifier (Project -> Info.plist) and your App ID. You may read this Apple Note Mismatch between App ID and Bundle Identifier

    I had similar message boxes (two in a row) when my Bundle Identifier was incorrect.

    0 讨论(0)
  • 2020-12-08 14:07

    I got it resolved by deleting already installed build from phone and then reinstall the build.

    0 讨论(0)
  • 2020-12-08 14:14

    Did you remember to expand Targets on the left of the project window, then right click on your app name > get info, then go to the Build tab and under Code Signing, under Code Signing Identity, change the value of Any iPhone OS Device to what applies in your case? Also in the properties tab you should have your identifier set so that it matches the identifier you chose.

    Don't know if that helps, that's the step I found missing in your description though.

    0 讨论(0)
提交回复
热议问题