No package for bundleID, SpriteKit

Every time I go to a specific scene in my SpriteKit game, I get the following error in the console:

no package for bundleID: (null)

What could be the reason for this? .. Why always on this particular scene? thanks

+7
objective-c sprite-kit skspritenode
source share
1 answer

I traced the origin of "no package for bundleID: (null) message" by going through my application using the Xcode debugger.

This happens every time I report an achievement.

This line of code will call it for me:

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

Nevertheless, I am sure that it is friendly, since my achievements and the advice of the leaders work very well.

As a note: when I report GKScore , instead of GKAchievement , I do not see the same warning message.

+12
source share

All Articles