Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No bundle for bundleID, SpriteKit

Every time i move to a specific scene in my SpriteKit game i get the following error in the console:

no bundle for bundleID: (null)

What could be the reason for that? ..Why always at that specific scene? Thanks

like image 957
user3138007 Avatar asked Sep 04 '15 21:09

user3138007


1 Answers

I've tracked down the origin of the "no bundle for bundleID: (null)" message by stepping through my app with the Xcode debugger.

It happens every time I report an achievement.

This line of code will trigger it for me:

[ GKAchievement reportAchievements:achievements withCompletionHandler:^(NSError *error) {
    if ( error != 0 )
        NSLog( @"Reporting of %@ failed: %@", achievement, [ error localizedDescription ] );
}];

That said, I am pretty sure it is benign, as my achievements and leader boards are working just fine.

As a side note: When I report a GKScore, instead of a GKAchievement, I don't see the same warning message.

like image 148
Bram Avatar answered Nov 13 '22 04:11

Bram