0

I've recently discovered Cocos2D V3 with Chipmunk physics engine built right into it. There's only one template to create a project from. When I run the sample game on my iPod touch with iOS 6.1 it works as expected but when I run it on an iOS 7.1 device, like 5S or 5, I get EXC_BAD_ACCESS error when I click the [Newton physics] button. There's nothing else. It just shows EXC_BAD_ACCESS before the onNewtonClicked method, so it's not inside the method, but outside. Has someone else experienced this?

James Webster
  • 31,873
  • 11
  • 70
  • 114
Mikayil Abdullayev
  • 12,117
  • 26
  • 122
  • 206

1 Answers1

1

This is a 32/64 bit compilation problem from Cocos2d.

You can fix this by updating to the latest RC 0.4 version.

Please check the instructions here to see how to do that : xCode 5.1 build crashes - SpriteBuilder

Community
  • 1
  • 1
Tibor Udvari
  • 2,932
  • 3
  • 23
  • 39