Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

valid provisioning profile matching the application's Identifier could not be found

Tags:

I'm trying to test my app on my device and am hitting the error stating "A valid provisioning profile matching the application's Identifier 'com.mycompany.MyApp' could not be found". I've read many similar posts here on SO but none have been able to help.

What I've done so far:

  • created a valid Provisioning Profile on the Provisioning Portal. When I look at the App ID of the profile, it is 10CHARSEED.com.mycompany.MyApp (where 10CHARSEED is obviously the Apple-generated seed id)

  • downloaded and installed the profile in XCode Organiser, under the device name. XCode has the green tick and tells me it's a Valid Profile.

  • checked that the Info.plist Bundle Identifier matches this. It does, exactly.

  • manually looked inside the project.pbxproj file for references to "PROVISION" but there are none (some of the other solutions I found on SO said to remove these lines, but obviously I don't have any to remove).

  • Quit Xcode and restarted.

  • removed and re-added the Provisioning Profile in Organiser.

Any ideas?

like image 370
bobsmells Avatar asked Nov 05 '12 05:11

bobsmells


People also ask

What is an iOS provisioning profile?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.


1 Answers

Ok, solved. The problem was to do with permissions. I finally found the menu option in the Organiser that says Refresh from Developer Portal (which is strange because the Prov Profile I'd just installed came from the portal, so I'm not sure why it would be any different). Anyway I clicked it and it asked for my Apple ID, and then after a minute it came back and said that I didn't have permission to add App IDs and to get an admin from my team to do it. So illogical given that I could install them manually under my account. Anyway, I just got my admin to make my membership also an admin, which he was happy to do because I've been bugging him all day during the provisioning process. After doing that, I again refreshed from portal and it gave no error, then I was able to build and deploy to the device.

Refresh from Developer Portal Option

like image 82
bobsmells Avatar answered Oct 06 '22 22:10

bobsmells