Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"a valid provisioning file for this executable was not found" in XCode

I'm trying to submit my second app to the App Store. I've followed all the instructions to the best of my knowledge, but I keep getting this error when I try to build and run:

"a valid provisioning file for this executable was not found"

I'm letting XCode auto select the profile automatically. The one I'd like to select is greyed out. But the dropdown selection in the Build tab of the Target window says

"profile doesn't match application identifier"

The other thing I don't get about this is that the selection dropdown shows "com.mycompany.myapp" and then "ABCDEDFG.com.mycompany.myapp" (both of those made up) so that I see they don't match. I have the unique identifier profile installed in the Organizer and in plist file.

I'm totally confused. I have followed the instructions in my book a few times and just can't get it.

like image 743
dbonneville Avatar asked Apr 19 '10 08:04

dbonneville


1 Answers

You have to create the Provisioning Profile from your Developer Center and download it to your local machine. From the Xcode menu, open the Organizer, install the downloaded provisioning profile into the Profiles area. Xcode will then link automatically for you.

Hope that helps.

like image 117
Hoang Pham Avatar answered Sep 22 '22 17:09

Hoang Pham