1.Printing description of reason:
*** -[NSURL initFileURLWithPath:]: nil string parameter
----
[NSURL fileURLWithPath:nil];
2.Printing description of reason:
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
-----
NSString *value = nil;
NSDictionary *dic = @{@"a": value};
3.Printing description of reason:
-[ViewController unImplementionSelector]: unrecognized selector sent to instance 0x600003693e80
----
[self performSelector:@selector(unImplementionSelector)];
4.Printing description of reason:
-[__NSCFConstantString characterAtIndex:]: Range or index out of bounds
----
NSString *aString = @"0123";
unichar c = [aString characterAtIndex:4];
5.[__NSMallocBlock__ countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x600000c5e270
6.[OS_dispatch_semaphore bytes]: unrecognized selector sent to instance 0x600001ab4f50
NSRangeException
*** -[NSBigMutableString characterAtIndex:]: Index 1 out of bounds; string length 1[
*** -[NSConcreteTextStorage attributesAtIndex:effectiveRange:]: Range or index out of bounds
NSInternalInconsistencyException
<NSTitlebarContainerView: 0x7fe7af1d7480>: invalid parameter not satisfying: !isnan(newOrigin.y)
NSGenericException
1、Printing description of reason:
*** Collection <__NSArrayM: 0x60000318e910> was mutated while being enumerated.
---
- (void)test9 {
NSMutableArray *ma = [NSMutableArray arrayWithObjects:@"1",@"2",@"3",@"4",@"5", nil];
for (NSString *obj in ma) {
if ([obj isEqualToString:@"3"]) {
[ma removeObject:@"3"];
}
}
}
2、