mikecargal

mikecargal

Apple Game Frameworks and Technologies: Show the Game Center Dashboard failing

Title: Name of book: Apple Game Frameworks and Technologies: Show the Game Center Dashboard failing (page 383…)

At the risk of embarrassing myself again (not that I should not be accustomed to it by now).

(As far as I can tell after reviewing all the instructions against my code changes several times) I’ve made all the changes to display the dashboard, leaderboard, and achievements, but when I click on the “Game Center” button. Nothing happens. The console log displays the following log lines:

2021-01-25 10:26:38.134412-0500 hog[41162:2431231] [Error] We failed to present Game Center dashboard extension.
2021-01-25 10:26:39.178478-0500 hog[41162:2431934] [AXRuntimeCommon] Unknown client: hog

By any chance, is this something obvious to someone with more experience hooking this up?

I’ve grepped around a bit and notice that the app is set up as hog.app, but all instructions are setting up bundle identifiers and everything on the developer site as hogdice. I don’t see anything obvious about why these would have to match, so probably looking in the wrong area.

Gonna go do a workout and come back to it… (at which point, I’ll promptly re-read, see where I missed a paragraph of instructions, and post a mea culpa reply again)

First Post!

mikecargal

mikecargal

TL;DR — follow ALL of the instructions :face_with_raised_eyebrow:

And… sure enough… page 372 (" 6.Sign out of your Apple ID on all testing devices and sign back in with your new sandbox tester account.")

Was the minor detail I missed… I had signed into Game Center in the app, but didn’t do it on the simulator main iCloud account.

Now If I can just figure out what the ^%$^&%$ thing is on a yellow background :roll_eyes:

(actually, that looks like a simulator bug… looks fine on the iPhone simulator) (apparently a known bug on Big Sur on iMac)

Where Next?

Popular Pragmatic Bookshelf topics Top

iPaul
page 37 ANTLRInputStream input = new ANTLRInputStream(is); as of ANTLR 4 .8 should be: CharStream stream = CharStreams.fromStream(i...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
raul
Page 28: It implements io.ReaderAt on the store type. Sorry if it’s a dumb question but was the io.ReaderAt supposed to be io.ReadAt? ...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
cro
I am working on the “Your Turn” for chapter one and building out the restart button talked about on page 27. It recommends looking into ...
New
swlaschin
The book has the same “Problem space/Solution space” diagram on page 18 as is on page 17. The correct Problem/Solution space diagrams ar...
New
jskubick
I’m running Android Studio “Arctic Fox” 2020.3.1 Patch 2, and I’m embarrassed to admit that I only made it to page 8 before running into ...
New
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
akraut
The markup used to display the uploaded image results in a Phoenix.LiveView.HTMLTokenizer.ParseError error. lib/pento_web/live/product_l...
New
dachristenson
I’ve got to the end of Ch. 11, and the app runs, with all tabs displaying what they should – at first. After switching around between St...
New

Other popular topics Top

PragmaticBookshelf
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
PragmaticBookshelf
Learn from the award-winning programming series that inspired the Elixir language, and go on a step-by-step journey through the most impo...
New
siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
AstonJ
There’s a whole world of custom keycaps out there that I didn’t know existed! Check out all of our Keycaps threads here: https://forum....
New
AstonJ
Do the test and post your score :nerd_face: :keyboard: If possible, please add info such as the keyboard you’re using, the layout (Qw...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
AstonJ
Saw this on TikTok of all places! :lol: Anyone heard of them before? Lite:
New
hilfordjames
There appears to have been an update that has changed the terminology for what has previously been known as the Taskbar Overflow - this h...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New

Sub Categories: