Xcode couldn't find any provisioning profiles matching
I am now able to successfully build. Not sure exactly which step "fixed" things, but this was the sequence:
- Tried automatic signing again. No go, so reverted to manual.
- After reverting, I had no Eligible Profiles, all were ineligible. Strange.
- I created a new certificate and profile, imported both. This too was "ineligible".
- Removed the iOS platform and re-added it. I had tried this previously without luck.
- After doing this, Xcode on its own defaulted to automatic signing. And this worked! Success!
While I am not sure exactly which parts were necessary, I think the previous certificates were the problem. I hate Xcode :(
Thanks for help.
Try to check Signing settings in Build settings for your project and target. Be sure that code signing identity section has correct identities for Debug and Release.
I opened XCode -> Preferences -> Accounts and clicked on Download certificate. That fixed my problem