Code Sign Error: Provisioning Profile

We have an iPhone app that is finally on its way to the App Store after about a month of development and a year of being placed on the back burner. From the time we started development to now Apple as made about a hundred updates to the iOS SDK (including renaming from iPhone SDK). After finally downloading the newest version of Xcode (3.2.5) and iOS SDK (4.2), an ordeal that took 4 tries at 13 hours apiece, we were finally able to fire up the app again.

But wait. What’s this? An error?!?! After compiling the code there was one error on the console:

Code Sign Error: Provisioning Profile (profile id) can't be found.

Ok I see what’s going on here. Xcode must not be properly updating its project files because all of the changes in versions. Silly Xcode. So I opened up the MyApp.xcodeproj file in TextMate and clicked on the project.pbxproj file.  Then I scrolled down to the ‘Begin XCBuildConfiguration section’ section in the file, or you could do a search for ‘PROVISIONING’ (or ‘provisioning’ if you care not for case). I then deleted the line that looks like this:

“PROVISIONING_PROFILE[sdk=iphoneos*]” = “profile id”;

Reloaded the project in Xcode, recompiled and Boom works.

This entry was posted in iPhone. Bookmark the permalink.

2 Responses to Code Sign Error: Provisioning Profile

  1. Maryjo says:

    It’s hard to find your page in google. I found it on 21
    spot, you should build quality backlinks , it will help you to get more visitors.
    I know how to help you, just search in google – k2
    seo tricks

  2. Stacia says:

    I read a lot of interesting content here.
    Probably you spend a lot of time writing, i know
    how to save you a lot of time, there is an online tool that creates unique,
    google friendly posts in minutes, just search in google – laranitas free content source

Leave a Reply to Stacia Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s