iDevGames Forums

Full Version: Thread 4: EXC_BAD_ACCESS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone, I am new to this forum and have a question regarding how to fix an error message in xcode. The msg is Thread 4: EXC_BAD_ACCESS. Does anyone have experience with sio2 game in xcode? Thanks
EXC_BAD_ACCESS on its own tells you nothing about how to fix the problem, it simply tells you what kind of problem it is (there was a "bad" memory access — reading or writing to memory that is not allocated to the process).

You need to look at the actual line of code causing the bad access, and then trace the problem back to its source using logic and detective work.
This is mainly when you are trying to send message to object which do not exist.
In Obj-C it is common (my experience) when you are trying to (improperly)
remove object from an array/dictionary/set when enumerating it.

And "hello" to everybody, as this is my first post Wink
Reference URL's