iOS game center in dev mode - ios

I'm developing an iOS game and want to add game center functionality.
I don't have finalized screenshots of the game play but after you register them with iTunes connect they can't be changed.
Is there any way to test game center functionality without registering the app? I need IAP, leaderboards and achievements.
am I missing something?
thanks in advance!

You can definitely change the screenshots after you've registered your app with iTunes Connect. I've done this many times before. You'll need to set up the leaderboards and achievements in iTunes Connect in order to test Game Center. It's the only way. These docs might be worth reading up on:
https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnectGameCenter_Guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40013726

Related

Game Center Leaderboard not appearing on production version of game?

My game went on the app store a few days ago and I cannot see my leaderboard at all. It just says "no data available"
However, when I build my game directly to my phone using an ad hoc profile I'm seeing my beta player's scores..
My leaderboard is in the not live status. I'm not sure if that matters or how to change that. I have other games with a "not live" leaderboard that are working on production..
Should I delete and remake the leaderboard now that my game is actually up on the app store?
I cleared my test data.. no luck.
Do I just need to wait? It's confusing.
I've called Apple support and theyre "working on it" but I feel like I'm stuck in a black hole now.. any way I can fix this myself?
I'm not sure if this section existed before. But I needed to explicitly add my created leaderboards to my release.

How can I remove Achievements from Game Center which I added for testing purpose?

I'm new to Apple's Game Center and while I'm studying it I added some of Achievements.
It seems that if the App is go on live, Apple don't let us remove Achievements data from Game Center. But before uploading App to App Store, is it possible to delete Achievements which is added for testing purpose?
Thank you.
according to itunes connect "Once an achievement has gone live for any version of your app, it cannot be removed." but I think you can still modify it to an usable achievement. or just hide it so player won't see it. can you?

Is the leaderboard mandatory for a game to be accepted?

My app has just been rejected for the following reason:
10.6
We found the following issues with the user interface of your app:
Did not integrate with iOS features. For example, the leaderboard should integrate with Game Center.
These examples identify types of issues discovered in your app but may
not represent all such issues. It would be appropriate to thoroughly
evaluate your app to address these types of issues.
I don't have any leaderboard in my game, just a score at the end of every turn.
Is the leaderboard mandatory?
Please refer the attached screenshot which was taken from apple documentation.
The best thing to do is just add the leaderboard, and integrate it to the Game Center.
On the other hand, there may be other reasons for the rejection, the Game Center integration is just an example. If you do sound without using Core Audio, they would reject you too, etc

iOS Game Center invites not working at all in SANDBOX

I´m trying to develop a multiplayer App & I´m using GKMatchmaker for that.
Unfortunately its .inviteHandler is never fired, it just says "failed" in the game center invite dialogue. The app works with AUTO-MATCH though.
I did some testing & made sure that
2 seperate sandbox gamecenter accounts are logged in.
the test app runs on 2 devices (1 iPhone 4S & 1 iPad 2)
They still don´t connect.
I tried to start DOODLE JUMP (an existing iOS Game) und use the sandbox accounts for multiplay... they did not work either. Then i logged in with my REAL NON SANDBOX accounts to game center & THERE Doodlejump was working and the invitation was received successfully.
Do you have any ideas, how I could make my sandbox account work & receive my game center invitations?
Hope this still would be useful for someone...
Check two things in such situation:
You set inviteHandler just after the local player has authenticated.
The player you're trying to invite did allow game invites in their account settings. In case you had two test accounts, you could forget you disallowed it for both of them. In such case the push notification for invite won't even be sent to the other player.
As stated in the Apple GameKit Programming Guide, a signed distribution build app will use the live GC environment, while everything else will use the sandbox. Unless you have the Doodle Jump source and build a debug version to run on your devices it will not work in sandbox mode properly.
Also you should make sure you are calling your inviteHandler method as soon after you authenticated a user as possible.
If the above don't work, try restarting your devices. I created two test accounts and logged into two different devices with each respective account. I couldn't get invitations to work, though automatching was working fine. Restarting the devices somehow 'registered' them to get push notifications from Game Center, and invitations suddenly started working.

Exporting Achievements in Gamecenter

I am releasing a game for iOS with Game Center integration. I have full and free version and the free version can be upgraded with in-app purchase. I found out the painful and long process of entering all achievements in iTunes connect trough web forms. Questions I have:
is there no way to export achievements in iTunes connect from one app and import into another?
why do the same Achievements in both apps have to have different IDs?
is there no way to change achievement ID once you made a mistake? is the really only way to delete it and start again?
You can group games, so that they can share same list of achievements and leaderboard. Check for Move to group button in gamecenter manage page.
Edit:
The achievements can't be deleted once the app go live, you can create new version of your game to have different achievements, but the older one will be there forever. So either make up your mind while the game is in testing mode or if you really need to change the achievement list, create a whole new game, instead of using versions.

Resources