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

jimschubert
In Chapter 3, the source for index introduces Config on page 31, followed by more code including tests; Config isn’t introduced until pag...
New
jamis
The following is cross-posted from the original Ray Tracer Challenge forum, from a post by garfieldnate. I’m cross-posting it so that the...
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
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
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
AndyDavis3416
@noelrappin Running the webpack dev server, I receive the following warning: ERROR in tsconfig.json TS18003: No inputs were found in c...
New
jgchristopher
“The ProductLive.Index template calls a helper function, live_component/3, that in turn calls on the modal component. ” Excerpt From: Br...
New
digitalbias
Title: Build a Weather Station with Elixir and Nerves: Problem connecting to Postgres with Grafana on (page 64) If you follow the defau...
New
creminology
Skimming ahead, much of the following is explained in Chapter 3, but new readers (like me!) will hit a roadblock in Chapter 2 with their ...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
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
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
New
husaindevelop
Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New

Sub Categories: