Game Center welcome banner issue

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.

I am having the same issue as well. Were you able to fix it?

I am facing the same issue. And this bugs me so much. Been trying to find a solution. Help please, anyone?

For us, I isolated the issue to the latest adwords sdk. There's a thread about it which can be found here

https://groups.google.com/forum/#!category-topic/google-admob-ads-sdk/ios/M8LtzwnKCCk

I had the same issue yesterday, but I fixed it by cleaning the build folder (go to the Product menu, and press alt to make the "Clean Build Folder" option appear).

I tried many times. I didn't work for me.

Please file a bug report.

Game Center welcome banner issue
 
 
Q