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

3

6

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

Worrywart answered 26/10, 2018 at 7:22 Comment(4)
did you try to run it xcrun simctl erase all. Source https://mcmap.net/q/445524/-dvtcoresimulatoradditionserrordomain-xcode-10gmWestwardly
i have same issueAtabrine
@QuocNguyen it's show this error "An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=164): Unable to erase contents and settings in current state: Booted"Worrywart
Delete all simulators one by one in the Devices and Simulators window. Then create a simulator and try it.Earleanearleen
T
0

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
Tristan answered 1/11, 2018 at 21:53 Comment(0)
E
0

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

Elegance answered 28/5, 2019 at 7:13 Comment(0)
A
0

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

Asturias answered 19/8, 2022 at 7:20 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.