malloc: *** error for object 0x165060: pointer being freed was not allocated?

后端 未结 6 968
温柔的废话
温柔的废话 2020-12-31 10:18

I have an application in which i have some videos and audios and some inapp purchases.all r great in simulator and working perfectly.But yesterday i have created an applicat

6条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 11:04

    Without seeing any code we can't help you with this. But you can find the problem yourself, the error message even tells you what to do: set a breakpoint on malloc_error_break and you usually will find the code that caused the problem in the stack trace.

    Just because it works in the simulator just doesn't mean that your code is 100% correct. some bugs only show up on a real device (or vice versa).

提交回复
热议问题