In the provisioning portal, the \"renew\" button for my team provisioning profile is grayed out. And said profile is expired.
How can I renew it?
EDIT: I
I fixed this by going to the portal and clicking "modify" on all expired profiles. Then click "select all" for devices and submit.
I fixed it by signing into my Apple ID in XCode->Preferences->Accounts
tab
Here's the answer to compiling question, however, if anyone else has the answer to the team provisioning profile please post.
You can still compile apps for your device/simulator by creating a developer profile and downloading it to your device.
The key to getting it to work is to make sure the profile is selected in both the Edit Project and Edit Target Settings from the Project Menu. The Target Setting is more specific and usually screws people up. Making sure they are both in sync will help you get things up and running.
From these two menus, check the Build tab and make sure the developer profile is displayed. The default is iPhone Developer and should point to your downloaded profile.
Is there a problem using a different mobileprovision file? I believe you are getting the error on using a different provision file because your Target might be using the older one.
Try this
See if that helps.
I had the same "unexpected error" issue with the Team Provisioning Profile when it expired. I fixed it by deleting it in the Xcode Organizer AND in the ADC Provisioning Portal, then hitting renew in Organizer.
This worked for me: