I write the code below:
JSImgDeleteCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:displayCellID forIndexPath:indexPath];
I had faced the same issue
CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
But I found this is not the real reason behind crashing the app, the real reason i found below the above message as Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull length]:unrecognized selector sent to instance 0x102ed2fb0' on console is real reason. So, I handle the null value which i received from backend.
In my case, I accidentally added two reference to the same Xib constraint. Removed one and it works well.
sorry,it's just the index lost and Apple changed the error log,just add the .m file