I was offline for a couple of days. I stepped through the above steps. Step one was working OK. Step 3 was working OK. I have no idea what is going wrong. I think I will revoke my developer certificate an try to start with a fresh one. Xcode must store some information outside of of the source code with is GIT controlled.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: