We have an app targeting iOS 8.4. It runs fine on iOS 8-10 being built with SDK 9.3. However the builds created by SDK 10.0 running on iOS 8 (Device and Simulator) crash constantly. For example:
malloc: *** error for object 0x79e80c60: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
This does not happen on iOS 8.4.
We created a new project targeting 8.4 and SDK 10.0 and only added a single failing unit test to the project. Running this project in 8.4 Simulator seems impossible. The test will never be executed and the simulator seems to be in some kind of loop.
Can anyone reproduce this issues with iOS 8 and SDK 10?
Solved by lowering deployment target to iOS 8.2
Sources: EXC_BAD_ACCESS only on xcode 8 running iOS 8
which links to: https://forums.developer.apple.com/thread/60919
which contains this info:
Update: If your Deployment Target is set to either 8.3 or 8.4 and you have an asset catalog then you will receive this same error message, even if you do not actually have 16-bit or P3 assets. In this case you will either need to lower your Deployment Target to 8.2, or move it up to 9.x.
Also note that someone mentioned that Xcode 8.1 fixes all this. I haven't tested yet myself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With