After updating to the latest build of Xcode 7.3 (7D175), every time I try to Export for adhoc distribution I get the above error. Everything was working fine up until the up
I had this problem with a project that I've been working on for years, using Xcode 7.3. But one of my colleagues, who cloned the same Xcode project, doesn't have this problem. After trying several different approaches, I downloaded the development certificate from Apple Developer and installed them manually. It works all of a sudden. My guess is Xcode 7.3 messed up with the automatic "fix the problem" feature.
I had the same error with my Ionic project when I imported it to Xcode. I had right team selected and right bundle identifier mentioned in the General Tab of the Target (the same team and identifier I had used in App Store to register)as shown in this picture . I had all the certificates/provisioning profiles downloaded needed for the project. Yet it complained.
How I solved it?
I checked the Code Signing section in the Build Settings of the Target. Please click here to see. In the Code Signing Identity area, I saw, the Xcode automatically selected iOS Distribution for all section of that area. I then, changed the value for the Debug and Release section to the identity that contained my Team Id. And it worked. All the errors were gone!!!
In my case, the problem was that the Xcode used to generate its own Team Id (XC) in the previous cases.
You might also have to manually select the Provisioning Profile too (just in case if the Xcode selects wrong profile)
I hope this helps someone.
i just resolve the problem by delete the Xcode account Provisioning Profiles.and download again. xcode account details
I only had to change the provisioning profile to a different one. I had made one of each type: Development, Ad Hoc Distribution, and Store Distribution.
Once I changed to Development, the error went away. Seems so simple. But sometimes it is simple, Thanks to God. LOL.
I also encountered the same problem. Xcode7.3
Effective solution is:
Nothing was working for me in Xcode 7.3. This can save you a lot of time, I solved it this way:
Xcode -> Preferences -> Accounts -> Provisioning Profiles -> Right Click them and move them to trash. Quit Xcode.
Member Center -> Provisioning Profiles -> All -> Deleted everything here (I have a single iOS app). Created a fresh new Profile with my app ID.
Member Center -> App IDs -> My App ID was of the form
Xcode iOS App ID com myDomain myApp
. If this is your case, blindly follow along -> Edit it, and try renaming it to the form
XC com myDomain myApp
-> if it says "Enter a valid name" in red, be patient a drop down will appear if your cursor is inside the Name text field - choose it and click Save. [Don't ask what's going on here, it just works - we have better things to deal with]