Xcode10: The operation couldn't be completed. (DVTCoreSimulatorAdditionsErrorDomain error 0.)

Viewed 2407

I have tried:

  • restart the simulator and Xcode
  • delete Xcode and reinstall it
  • run xcrun simctl erase all this command

I already try but can't solve this issue

enter image description here

3 Answers

Make sure that xcrun is the same installation of Xcode that you're running in the UI:

To check:

xcode-select --print-path

To change:

sudo xcode-select -s {the-path-to}/Xcode.app/Contents/Developer

You can delete this simulator and add it back.I had solved this problem by this way. Maybe you can try it.

In my own case, Validating the build before distributing it solved the problem. I forgot to validate before distributing the build.

Related