5

I got a crash from my client,As shown below enter image description here

How can I figure out where the problem is from this picture? How to get information from this? What does '+1036' mean behind '[__NSDictionaryM setObject:forKey:]'?

Zedd
  • 174
  • 1
  • 10

1 Answers1

19

You can add an All exception break point in X-Code. Please follow the steps below.

enter image description here

Now run your code. This will hit your error point on code. And this because, you are trying to set a null key on a dictionary. After you add the all exception break point you can find the exact line.

For more info please follow this answer

codebot
  • 2,540
  • 3
  • 38
  • 89