Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ios simulator stuck on apple logo on Virtual Box

I`m using mac os by installing it on the virtual box on my windows computer. I have installed Xcode. When I open the iOS simulator it will show a progress bar and later shows the apple logo. Then it will not go further. Always showing the apple logo and simulator will not open the UI. Has anyone a solution?

like image 655
ViduraPrasangana Avatar asked May 16 '20 19:05

ViduraPrasangana


People also ask

How do you refresh iPhone simulator?

ctrl+cmd+z. Pause . 5 seconds for menu to appear. Click the reload button image.

How do you restart an app on iPhone simulator?

For closing (not quit) the running application in Simulator the keyboard shortcut is "shift+command+h".


1 Answers

If anyone has the same issue here is the solution I found. check this answer https://stackoverflow.com/a/58466749/10393174

Add "C:\Program Files\Oracle\VirtualBox\" into your system variables and run below commands in cmd

VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX 0
VBoxManage setextradata "$vm_name" VBoxInternal/CPUM/IsaExts/AVX2 0
like image 166
ViduraPrasangana Avatar answered Sep 28 '22 01:09

ViduraPrasangana