1

Error Prompt

Xcode 11.3 not able to run the simulator when the lab being "offline" I need to connect to the internet to make the Xcode run the simulator. I found this is hard, please note I try to the following possible solutions but no one solve the problem.

  • Remove driven data
  • Erase all content and setting from the simulator
  • Enable AuthDevTools
emrcftci
  • 3,355
  • 3
  • 21
  • 35
Ahmed Eid
  • 192
  • 1
  • 8

1 Answers1

0

There are several answers about this issue.

1st way

You should run this command in your terminal ->

sudo DevToolsSecurity -enable

2nd way

Uncheck this box ->

  • Edit Scheme > Run > Debug executable

Resource for this answer


Bonus

  • What is the DevToolsSecurity -enable command?

This is the command we can use for enable Developer Mode

When you run Xcode for the first time on a fresh system, it asks if you’d like to enable Developer Mode. Developer Mode allows Xcode to execute common debugging tasks without constantly asking for your password.

Brian Gilham's Medium Article

emrcftci
  • 3,355
  • 3
  • 21
  • 35
  • the problem back again after few minutes, the Xcode need to sign in with my Apple ID every time I run the project to ensure from the project team, I think. but that is bad for me. – Ahmed Eid Mar 13 '20 at 15:08