Could you try this first:
1) Launch Xcode
2) Create a new project
3) Open Target Settings and Project Settings windows
4) Configuration : Active (Debug)
5)In the box Code Signing Identity, put the followings:
iPhone Developer: Your Name (as in your developer certificate)
6)In the box Code Signing Provisioning Profile Any Iphone OS Device, choose your developer provisioning profile.
7) Do the same thing for Configuration (Release)
Normally, this works.
Then :
8) Duplicate Release and rename it Distribution
9) Open Target Settings and Project Settings windows
10) Configuration : Active (Debug)
11)In the box Code Signing Identity, put the followings:
iPhone Distribution: Your Company Name (as in your distribution certificate)
12)In the box Code Signing Provisioning Profile Any Iphone OS Device, choose your distribution provisioning profile.
I often encounter this problem and I redo all the steps I mentioned and finally, it works.
Good Luck
|