Xcode - My app crash and the error is “Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug”

前端 未结 3 1373
深忆病人
深忆病人 2021-01-01 20:36

My app runs perfect on simulator. But when I run it on device the app crash and display error :

\"malloc: * error for object 0x17415d0c0: Inva

3条回答
  •  时光说笑
    2021-01-01 21:06

    Just fixed this same issue with Xcode 8. Preparing an iOS10 compatible build, updated to recommended Swift Migration 2.3, runs perfectly on iOS9 and iOS10 but crashes on iOS8.4. I reverted the changes in the code and the Main.storyboard and built the same content on the iOS8 with Xcode 7.3 fixed my issues.

提交回复
热议问题