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
In my case nothing from above worked until I tried changing my bundle identifier prefix from
com.xxx.NameOfMyApp to com.xxxYYY.NameOfMyApp.
I must have accidentally picked a prefix someone else had already used.
OK - I may have a solution. Though you won't like it because it is a major pain. I went to Apple members center, deleted all of my certs all of my profiles and started from scratch.
I wish I had solid steps to give you to follow but I did so much that I'd honestly just be guessing. In the end here is what I'd suggest:
I'm now able to create adhoc builds and export them using xcode 7.3.
All of that said, do this with the intention to get into some BS. It took me a long time to get things set up and working again. From re-creating all of the above to countless device, xcode, and computer restarts.
Now a new issue has come up - dyld: Library not loaded: @rpath/
regarding one of my swift cocoapods ... so more fun. What a wasted day :(
Sometimes after you click on Export the selected Team doesn't match the one in the certificate. You should check that the selected Team is correct if you have multiple teams on the same machine.