Code Sign Error: Provisioning profile not found.

I have been working all day to try and create an application on my device.

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

I read about this problem, but I don’t understand how to fix it. The following is where I would believe the problem is this. I am new to this, so I have no experience how to solve this.

When I open the Dont Code sign, I have an β€œ Automatic Profile Selector (Recommended) ” with two lines that I can select, as well as β€œ My Profile for dev ” with one line for selection. Not sure what the problem is?

Any help is appreciated.

enter image description here

+75
iphone xcode4 code-signing
Apr 22 '11 at 17:28
source share
12 answers

What is an error message? Have you added your device, including the required training profile in the organizer? What do you see in the organizer when choosing an iPhone under devices? He must be there with the correct valid profile ...

+11
Apr 22 '11 at 17:40
source share

Here is how I did it.

  • Complete Xcode.
  • Back up the project.pbxproj file.
  • Edit the project.pbxproj file and delete the instance lines where it mentions the old provisioning profile.
    • eg. Delete line:
    • PROVISIONING_PROFILE = "8D024EDA-DC05-40DF-B3EB-536392615EE2";
  • Restart Xcode and do a full cleanup of the project.
  • Then it should be built without warning.

Enjoy it!

+243
Aug 14 '11 at 11:55
source share

In my case, this happened because xcode 4.0.2 prevented the deletion of obsolete data in project.pbxpro in the * .xcodepro directory. I finished manually editing the file after closing xcode. In the file, I looked for all occurrences of the "DELIVERY", something like this:

PRODUCT_NAME = Xyzzy; PROVISIONING_PROFILE = "CF5F0AEA-92D9-48E1-99DF-301AB36C2BFB"; "PROVISIONING_PROFILE[sdk=*]" = "CF5F0AEA-92D9-48E1-99DF-301AB36C2BFB"; SDKROOT = iphoneos; 

and changed it to:

 PRODUCT_NAME = Xyzzy; "PROVISIONING_PROFILE[sdk=*]" = ""; SDKROOT = iphoneos; 

I restarted xcode and the build completed without problems. Be careful, make sure that you back up the project directory before making changes to the project files, and only manually edit the files when you have no other options.

+34
Jun 30 2018-11-21T00:
source share

I went and changed the code signing identifier on the project and aimed at "Do not Code Sign", and then returned to the correct code signing identifier. This fixed it for me.

+12
Jan 19 '13 at 23:38
source share

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

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

ps. OSX did not allow me to edit the .pbxproj file with a text editor

+7
Jan 11 '12 at 17:20
source share

I had this problem when I had to reissue development support profiles with new names / identifiers.

The solution was to update all the links in the "Change project settings" section | Build (Code Sign) with a link to the code developer (name). (Do not edit Active Executable.)

Click on the items (s) and verify that the new profile is explicitly selected and rebuilt and launched.

I suspect that the reason you get this error primarily depends on whether you installed xCode to try to resolve these dependencies automatically. In one of my collections, replacing a profile was simple - in another I had to manually update it. Obviously, a better solution would be simple.

+5
Oct 11 2018-11-11T00:
source share

I had this before, and it just worked, restarting Xcode. It probably won’t work for you, but I’ll throw it away anyway.

+3
Apr 22 2018-11-17T00:
source share

I had the same error when a very previous build was built just fine. I noted that my Build Settings β†’ Code Signing β†’ The provisioning profile was reset weird. All I had was to indicate that he would fix the problem in order to solve the problem.

+3
Jan 28 '15 at 12:28
source share

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

+2
Apr 22 2018-11-17T00:
source share

I simply reconfigured the provisioning profile and added the devices to the portal in Organizer. Then I clicked on the icon for my project, entered Build Settings, Code Signing, and reassigned the new provisioning profile.

+1
Nov 16 '11 at 1:11
source share

I had a profiling profile defined in the Projects application, and the other in Goals. Do a search in your project for the missing file and see if it pops up. No manual editing required!

0
Oct 30 '14 at 13:30
source share

Like @Jonathan, I just restarted Xcode and it worked after it automatically received the profile from my Apple Developer account. It was Xcode 6.2

0
Apr 26 '15 at 8:23
source share



All Articles