iOS Developer Certificate and Mobile Provision work on Windows but not OSX

I did follow those steps, but they are not what solved my problem actually. I found another somewhat unrelated answerhub post that had the answer within it. I had to reset my signing identity in XCode preferences>account details. That solved my problem. Thanks for being willing to help.