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

后端 未结 11 804
后悔当初
后悔当初 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 13:48

    I know you've already checked some of this, but just so this answer is complete:

    • Check that the new provisioning profile and certificate is named at the target level for each build setting you want to install on the device.
    • Code Signing Entitlements must also be defined at the target level, not the project.
    • Double check your build log, looking for a line that includes CodeSign. Verify it is there and using the certificate you expect.
    • If all else fails, remove the code signing identity from your target, clean all targets, delete any build directories from your project, quit and restart Xcode, replace the code signing identity, and try your build again.

提交回复
热议问题