I'm facing a weird issue on XCode 9.2 in regard to Game Center.
When I compile and run my game using Xcode 9.2, the "Welcome Back, <player name>" banner, (displayed after successful login to Game Center) no longer appears in the horizontal center of the screen. Instead it appears on the top left edge of the device (or simulator) with half of it clipped.
The strange thing is that apps that were compiled using Xcode 9.1, and installed on the same device, dont show this issue. Only when I recompile them using Xcode 9.2 and run, then the issue starts appearing.
This happens for both landscape as well as portrait apps. I've checked all orientation settings, safe areas, info.plist file, and also checked the orientation support functions in the ViewController. But I just cant locate the issue.
The GKGameCenterViewController displays correctly with no issues and so does the login viewcontroller.
Another observation - the issue is happening in projects that were created using Xcode versions prior to Xcode 9. I have another game under development, that I started on Xcode 9.1 - the same code and settings are working fine in this case. So I'm guessing there is some configuration that has to be updated for older projects.
Any help will be greatly appreciated.