warning: Attempting to create USE_BLOCK_IN_FRAME variable with block that isn't in the frame

前端 未结 4 513
小鲜肉
小鲜肉 2020-12-20 11:16

What does mean? I get this error when trying to iterate through a file in Cocoa obj-c.

I can\'t find any information on the web.

Would appreciate some help.

4条回答
  •  旧时难觅i
    2020-12-20 11:44

    For other people running into this problem with entirely different code, this is a bit of a red herring.

    The warning is from the debugger itself. The debugger creates a struct containing info for each object in the system. After the EXC_BAD_ACCESS, it tried to create one of these but was unable to. Note that this is a warning and not an error so it may even be expected in situations like this.

    In any event, the details surrounding this don't matter. You've got to find the source of your EXC_BAD_ACCESS. A common cause is trying to access an object after it has been released.

提交回复
热议问题