Game Crashing in Simulator XCode

Discussion in 'How Can I...?' started by pjpavlovich, Nov 13, 2015.

  1. pjpavlovich

    pjpavlovich Boxer

    Joined:
    Oct 4, 2015
    Messages:
    26
    Likes Received:
    1
    Hi all - I built a game that when I test in PZPlayer in XCode (IPhone 6s Plus) it crashes. There seems to be high CPU utilization as well, but when I start shooting my projectiles, it crashes my game. I get it thread 1, and the following is the error -

    int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); Thread 1: EXC_BAD_ACCESS (code=1, address=0x7fce0000010)

    Can anyone help point me in the right direction on this? Thanks!

    XCode - 7.1.1
    Buildbox - 1.3.5.0
     
  2. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    I wouldn't test in Xcode simulator but it's interesting nonetheless. How is performance on the Device. you can use Xcode > Open Developer Tools > Instruments > and run Activity Monitor to see CPU (and memory) utilization.

    Also, BB 1.3.5 might be optimized to run on Xcode 6.4
     
  3. ajcoryat

    ajcoryat Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    241
    Likes Received:
    111
    Get Xcode 6.4 here
     
  4. pjpavlovich

    pjpavlovich Boxer

    Joined:
    Oct 4, 2015
    Messages:
    26
    Likes Received:
    1
    I am in the process of downgrading my Mac back to Yosemite and using Xcode 6.3/6.4 based upon the Apple tutorial on Buildbox's website. Thank you guys!!
     
  5. pjpavlovich

    pjpavlovich Boxer

    Joined:
    Oct 4, 2015
    Messages:
    26
    Likes Received:
    1
    Activity was very high with CPU and memory.
     
  6. pjpavlovich

    pjpavlovich Boxer

    Joined:
    Oct 4, 2015
    Messages:
    26
    Likes Received:
    1
    Ok, I am on Yosemite and XCode 6.4. It's only crashing when I use the iPhone 6 and iPhone 6 Plus PZPlayer. This is what Apple said was happening as well, thats why I am using this simulator to check and test. Would there be any reason why it only happens with Iphone 6 and above?
     
  7. pjpavlovich

    pjpavlovich Boxer

    Joined:
    Oct 4, 2015
    Messages:
    26
    Likes Received:
    1
    I also ran this on my iphone 6 plus and it crashes as well. I did try on a physical 4s and that worked fine.
     
  8. JustWatchApps

    JustWatchApps Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    315
    Likes Received:
    145
    polo32224 likes this.

Share This Page