objc_msgSend [__NSArrayM dealloc] crash report sometimes from Crashlytics

后端 未结 5 413
醉酒成梦
醉酒成梦 2020-12-15 16:27

I recently received this app after updating to Crashlytics 3.0 Not sure if it comes from my code or something else. The crash report is untraceable

Here is          


        
5条回答
  •  时光说笑
    2020-12-15 17:23

    it seems to your NSArray released & you want to access it so this crash happened. you can define your NSArray as Strong in your model or VC

    @property(nonatomic, strong) NSArray *myArray
    

    if you cant guess which NSArraY has been released , I recommend you debug your app with NSZombie Object in instrument to find exact NSArray

提交回复
热议问题