Having problems with iOS Simulator

Hi guys,

i am new to iOS Development and started with the tutorial series made by Chris. It is awesome.
But i have a huge problem.

Building my app is no problem, but when i try to simulate it the simulator crashes.

Details

The request to open “de.Demo” failed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 5
Failure Reason: Unexpected error type.
User Info: {
BSErrorCodeDescription = InvalidResponse;
}

The operation couldn’t be completed. (BSServiceConnectionErrorDomain error 3.)
Domain: BSServiceConnectionErrorDomain
Code: 3
User Info: {
BSErrorCodeDescription = OperationFailed;
}

System Information

macOS Version 10.15.4 (Build 19E287)
Xcode 11.4.1 (16137)

Is there anybody who have experience dealing with that problem ?

BR
Kristof

@iOSDEVNoob
Hi Kristof.

Welcome to the community.

Can you post a screenshot of your Xcode window so that we can see what simulator you are trying to use?

Similar to this example:

Hi Chris,

thanks for having me.

The problem is solved. It wasn’t a problem of xcode.
I used a VirtualBox VM and this was the problem at all.

Thanks for your help :slight_smile:

**For those of us who got here, the solution is: **
Run these two lines on CMD:
cd C:\Program Files\Oracle\Virtualbox
VBoxManage setextradata “Your name of virtual machine” VBoxInternal/CPUM/IsaExts/AVX 0
VBoxManage setextradata “Your name of virtual machine” VBoxInternal/CPUM/IsaExts/AVX2 0
(Sorry for my English.)

3 Likes

I love you man. You save my day. I have been at this for hours.

Oh! thank you very much man, i stuck in this error for nearly a week, i search in google and see many solution but nothing effected until i saw yout comment in this page.
You save my life.
Thank you so much.

Hey - thanks for this Jose. I have a couple of questions:

  1. Does this solution work for Mac?
  2. How do I confirm the name of my virtual machine?

Thanks,

Jez

Hi Jeremy,

Are you using a Mac or a PC?

You don’t have to do this on a Mac as Xcode runs natively nor is there any requirement to run a virtual machine.

Hi Chris, I’m on Mac so I now understand this wouldn’t be applicable to me.

I actually just solved my own topic on this which I can see you’ve just responded to - link for anyone else experiencing this issue on a Mac - https://codecrew.codewithchris.com/t/modul-2-lesson-15/9712

Long story short…it’s probably an error with your code! (Get digging!)

I love you man. I struggled with this task for several days day and night. Reviewed a lot of information. I am glad that there are such people ready to help. Thank you! I will continue programming and doing what I love!)))))