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)

Popular Pragmatic Bookshelf topics Top

brianokken
Many tasks_proj/tests directories exist in chapters 2, 3, 5 that have tests that use the custom markers smoke and get, which are not decl...
New
jeffmcompsci
Title: Design and Build Great Web APIs - typo “https://company-atk.herokuapp.com/2258ie4t68jv” (page 19, third bullet in URL list) Typo:...
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
edruder
I thought that there might be interest in using the book with Rails 6.1 and Ruby 2.7.2. I’ll note what I needed to do differently here. ...
New
rmurray10127
Title: Intuitive Python: docker run… denied error (page 2) Attempted to run the docker command in both CLI and Powershell PS C:\Users\r...
New
adamwoolhether
When trying to generate the protobuf .go file, I receive this error: Unknown flag: --go_opt libprotoc 3.12.3 MacOS 11.3.1 Googling ...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
dsmith42
Hey there, I’m enjoying this book and have learned a few things alredayd. However, in Chapter 4 I believe we are meant to see the “>...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
roadbike
From page 13: On Python 3.7, you can install the libraries with pip by running these commands inside a Python venv using Visual Studio ...
New

Other popular topics Top

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
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
mafinar
Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
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
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
PragmaticBookshelf
Author Spotlight: Sophie DeBenedetto @SophieDeBenedetto The days of the traditional request-response web application are long gone, b...
New
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New