Hi Everyone,
I'm a beginner at Objective-C and am trying to initialize an NSMutableArray with objects of various types. Here is my code:
NSMutableArray *mutArr = [NSMutableArray arrayWithCapacity:1];
[mutArr addObject:path];
[mutArr addObject:fullPath];
[mutArr addObject:pathArray];
[mutArr addObject:pI];
[mutArr addObject:processName];
[mutArr addObject:processIdentifier];
[mutArr addObject:dictionary];
NSLog(@"I am past the initialization of mutArr.");
My code doesn't reach the NSLog statement, and I'm getting an error on the Debug Console of XCode saying, "The Debugger has exited due to signal 10 (SIGBUS)." I don't know what this means, why it's happening, or how to fix it. Could someone please help me?
Thank you!!