I encounter the Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffee1ba8578) error.
As I know this cause from abnormal object release.
But seem as stuck [MTLModel description]
infinite loop.
Even already add one exception breakpoint in project and enable Zombie Objects in Edit Scheme, the console still without any information and output when error occurs.
Is there any idea or experience for debugging.
Would you by any chance have a property in your model named description
? If so, please note that description
is reserved in Objective-C to generate a NSString description of an object. You will probably need to name it "desc" or some other name and use the JSONKeyPathsByPropertyKey
to associate the "description" property of your JSON model to your "desc" property of your Objective-C model.