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

yulkin
your book suggests to use Image.toByteData() to convert image to bytes, however I get the following error: "the getter ‘toByteData’ isn’t...
New
sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
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
jeremyhuiskamp
Title: Web Development with Clojure, Third Edition, vB17.0 (p9) The create table guestbook syntax suggested doesn’t seem to be accepted ...
New
nicoatridge
Hi, I have just acquired Michael Fazio’s “Kotlin and Android Development” to learn about game programming for Android. I have a game in p...
New
adamwoolhether
I’m not quite sure what’s going on here, but I’m unable to have to containers successfully complete the Readiness/Liveness checks. I’m im...
New
brunogirin
When I run the coverage example to report on missing lines, I get: pytest --cov=cards --report=term-missing ch7 ERROR: usage: pytest [op...
New
adamwoolhether
Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New
EdBorn
Title: Agile Web Development with Rails 7: (page 70) I am running windows 11 pro with rails 7.0.3 and ruby 3.1.2p20 (2022-04-12 revision...
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

PragmaticBookshelf
Free and open source software is the default choice for the technologies that run our world, and it’s built and maintained by people like...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
AstonJ
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
PragmaticBookshelf
Explore the power of Ash Framework by modeling and building the domain for a real-world web application. Rebecca Le @sevenseacat and ...
New

Sub Categories: