I had this same problem, and I was able to fix it by turning on "Automatically manage signing" in my target settings.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: