When I open a specific Storyboard scene, my application crashes with the error: "Incorrect checksum for the freed object - the object was probably changed after the release." I also experienced some "EXC_BAD_ACCESS" crashes, usually one or the other. I could not find the problem pointer, so I checked it with NSZombieEnabled. This led me to get this error message:
*** -[NSContentSizeLayoutConstraint secondItem]: message sent to deallocated instance 0x1e0a5220
Now I was looking for a project for [NSContentSizeLayoutConstraint secondItem], and even simply
NSContentSizeLayoutConstraintand secondItemindividually. He does not exist anywhere in the project. I am still very new to Objective-C and have no idea what to do next. In addition, it will work fine, like 1 out of 5 times on the device and the simulator. This also happened with:
-[NSAttributeDictionary release]:which is not in my project. In addition, *** -[PitchDetector addSamples:inNumberFrames:]:. They continue to change, and I can not find them anywhere in my project. And it works very well sometimes, usually on a simulator, which makes it really disappointing, as the error continues to change on the device when it crashes.
To switch the views in the storyboard, I use this code. This is in viewDidLoad on the main screen:
x1ViewController = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"x1ViewController"];
And when the button is pressed to load it:
- (IBAction)button4:(id)sender {
[self presentViewController:x1ViewController animated:YES completion:nil];
}
, . .
:

, , :

: ": 1768843636" . .