I had the same issue, when compiling on My Mac (Designed for iPad).
I solved it by changing the bundle identifier to a dummy one, compiling and runing the app, then reverting to the original bundle identifier.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: