• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sprite Kit app won’t operate in foreground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sprite Kit app won’t operate in foreground


  • Subject: Sprite Kit app won’t operate in foreground
  • From: Charles Jenkins <email@hidden>
  • Date: Tue, 02 Aug 2016 08:18:29 -0400

A few weeks ago I wrote about a demo app that seemed to expire—it would
work perfectly for a few weeks and then crash whenever opened.

Carl Hoefs advised me how to look for crash logs on the device. I did, and
was surprised to find there is no crash log for my app. It’s not actually
crashing!

If I double-click the home button, I find my app there in the task list.
But when I tap to bring it to the foreground, the splash screen shows for a
half second, then I’m returned to Springboard.

If I flick the app out of the task list to kill it and restart, I get the
same behavior. But I have already learned that if I connect to my laptop
and run the app under the debugger, it will reload and run correctly, then
continue to function normally for a few weeks.

Does anyone have experience with such behavior? Could I be doing something
wrong with SpriteKit to make the app hibernate instead of showing the main
scene?

What could make an app resign foreground status every time it is restored?

--

Charles
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Sprite Kit app won’t operate in foreground
      • From: Jeff Szuhay <email@hidden>
  • Prev by Date: Re: Method name starts with "set"
  • Next by Date: Re: Sprite Kit app won’t operate in foreground
  • Previous by thread: Re: Method name starts with "set"
  • Next by thread: Re: Sprite Kit app won’t operate in foreground
  • Index(es):
    • Date
    • Thread