I am trying to test my iPhone app in XCode 4 and it is telling me that i don't have a valid provisioning profile even though i do. What is wr开发者_开发问答ong?
There are a lot of factors that could cause this. More information is needed. The primary things I would suggest are:
- Is your device authorized in the provisioning profile (using the Developer Portal or team provisioning profile)
- Have you downloaded the latest profile from the developer portal? And made sure its not expired?
- Have you specified the correct provisioning profile in the build settings for your project? If you have had to make changes to the profile or renew it you will have to re-download it AND install it in Xcode AND change your build settings to point to the new one even though it has the same name.
精彩评论