Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS Simulator crashes running iOS 13.0 devices

IOS Simulator crashes running iOS 13.0 devices,

using XCode 11.0

Mojave 10.14.6 running as VM In VirtualBox 6.0.12

iOS 12.2 simulators run OK.

Any ideas how to fix this?

enter image description here

like image 386
Lydon Ch Avatar asked Sep 28 '19 17:09

Lydon Ch


People also ask

Can I install IPA on iOS simulator?

You cannot run an ipa file in the simulator because the ipa file is compiled for a phone's ARM architecture, not the simulator's x86 architecture. However, you can extract an app installed in a local simulator, send it to someone else, and have them copy it to the simulator on their machine.


2 Answers

Repeating Jeremy Huddleston Sequoia and russbishop comments here. Thanks them.

Had same issue and disabling AVX/AVX2 solved for me.

VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX 0
VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX2 0

Other option, as mentioned russbishop, is to update VirptualBox to version supporting properly AVX.

like image 104
Alexandr Avatar answered Sep 20 '22 03:09

Alexandr


In the future, please reference the actual log rather than an screenshot of the log.

Given that this is in the HEVC video code, I suspect your VM is advertising support for some CPU extensions that it doesn't actually support (eg: AVX). If you attach to SpringBoard with lldb and check where it is crashing, that should tell you pretty quickly if that's the case.

like image 25
Jeremy Huddleston Sequoia Avatar answered Sep 17 '22 03:09

Jeremy Huddleston Sequoia