Ad hoc crashes

I've created an ad hoc on my device for my first game, but it constantly crashes. What do I do?

Comments

  • TheGabfatherTheGabfather Member Posts: 633
    edited August 2013
    Does it crash on startup, or after some time after running? I suggest using Xcode Instruments to study the metrics of the game when it's running (pay attention to the RAM usage, most importantly).

    After that, assuming you have an idea of which Rules within which Actors might be hogging all your RAM, start deactivating them to confirm. Then hopefully you'll be able to determine your faulty Rules and fix them one way or another. Good luck.

    edit: I haven't used the Viewer in a long time, but you should also try running your game with it. If it crashes there as well, then you'll have a quicker time figuring out which Rules are faulty.
  • ArmellineArmelline Member, PRO Posts: 5,374
    Are you running iOS 7? Both GS Viewer and ad hoc builds will crash constantly if so.
  • vincentWvincentW Member Posts: 47
    Thanks for the help! I'm using ios 7...
    It crashes sometimes when it starts up and it crashes often when it's switching scenes.
    I'll try using xcode to find maybe some other faults in the game.
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    GameSalad doesn't support iOS 7 yet but it's coming soon, in the mean time there isn't a fix for your problem other than removing iOS 7 or testing your game on another device.
  • vincentWvincentW Member Posts: 47
    edited September 2013
    Thanks all for the help!
Sign In or Register to comment.