Hi,

in a project using the default Spritekit template all works fine until one 
leaves the app and switches to another process, which results in random crashes 
without a backtrace. After having switched to another process and returning to 
the running  or also paused game, it's only a question of time when it will 
crash.

It always seems to involve the main window. The trace is not very helpful as it 
crashes outside the app's own code. The last calls that I can see in the 
debugger are sometimes [NSApplication updateWindows], other times it's 
[NSWindow becomeKeyWindow].

Googling this issue was not very helpful. Suggestions varied from putting the 
entire app in a try-block, subclassing NSApplication for testing purposes, up 
to including creating the entire project from scratch and copy pasting line by 
line.....good luck with that. Except for that last option I tried the other two 
to no avail. Is there a way to find the root cause of such a crash?

Thx



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to