Code Sign error: Provisioning profile can't be found

后端 未结 12 928
别那么骄傲
别那么骄傲 2020-12-04 06:48

I have been working the whole day to try to build my app on my device.

I get this error when I try to build on my device.

I have been reading about this prob

相关标签:
12条回答
  • 2020-12-04 07:33

    I had same error where the very previous build built just fine. I noted that my Build Settings -> Code Signing -> Provisioning Profile had been reset to strange one. All I had do is to point it to correct one to resolve the issue.

    0 讨论(0)
  • 2020-12-04 07:34

    I've had this before, and it just worked by restarting Xcode. Probably won't work for you but I'll throw it out there anyway.

    0 讨论(0)
  • 2020-12-04 07:35

    If you are working with a project created by someone else as a template, you need to change the code signing identity

    screenshot: http://i.stack.imgur.com/UIpGS.png (Xcode 4.2)

    ps. OSX would not let me edit the .pbxproj file with a text editor

    0 讨论(0)
  • 2020-12-04 07:36

    what exactly is the error message? Did you add your device including the required provisioning profile in the organizer? What do you see in the organizer when selecting your iPhone under devices? It should be there with the correct valid profile...

    0 讨论(0)
  • 2020-12-04 07:39

    This one can be fixed by changing the project settings AND clicking Project > Edit Active Executable > Build and changing the settings there.

    0 讨论(0)
  • 2020-12-04 07:42

    I had this problem when I had to reissue development provisioning profiles with new names/ids.

    The solution was to update all references in Edit Project Settings | Build (Code Sign) referring to Code Sign Developer (name). (Not Edit Active Executable.)

    Click on the item(s) and check that the new profile is explicitly selected, and rebuild and run.

    I suspect that the reason you get this error in the first place depends on whether or not you have set xCode up to try to resolve these dependencies automatically. In one of my builds replacing the profile was seamless - in the other I had to manually update it. Clearly the best solution would be a seamless one.

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