GameCenter Not Connecting

So I am pulling my hair out and the deadline is coming up and I still can’t get it to authenticate.

I followed the same code in the unity documentation,[Like this][1].

set up a provisioning profile in apple dev.
the program is named the same as in itunes connect.
same app id.
app in itunes connect has gamecenter enabled and I have waited a day.

the login box comes up with sandbox on it. Log in with my sandbox account and it says game is not recognized by gamecenter.

the project is using the latest 3.5 build.
[1]: Unity - Scripting API: Social.localUser

So Since gamecenter is a plug in for unity ( even if you use the social object) it does NOT run in the xcode simulator. You have to build it to a device in order for it to work. I am surprised there was no information about this but it works now.