Crashlytics reported this failure:
0 libobjc.A.dylib _objc_trap() + 18446744073709552000 1 libobjc.A.dylib _objc_fatal + 71 2 libobjc.A.dylib append_referrer_no_lock(weak_referrer_array_t*, objc_object**) 3 libobjc.A.dylib objc_storeWeak + 120 4 MyApp CloudSyncButton.m line 58 -[CloudSyncButton observeValueForKeyPath:ofObject:change:context:] 5 ....
The code in question:
-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { CloudSyncButton* __weak weakSelf = self;
I need help to understand why this happened and what I can do to avoid this in the future. This is the first time I've seen something like this crash, so I wonder if this is an accident?
Tim reddy
source share