Saturday, March 16, 2019

The operation couldn’t be completed. (DVTCoreSimulatorAdditionsErrorDomain error 0.) - XCode


Few days back, I deleted some devices from ~/Library/Developer/CoreSi
mulator/Devices/ manually. After that whenever I was trying to run my XCode project in the simulator  I was getting a pop up like Image 1 in XCode.

Image 1: DVTCoreSimulatorAdditionsErrorDomain error


After wasting some minutes I found out the solution. It is a very easy to solve. Just follow my instructions --

Step 1 : Open your terminal. You do not need to open any specific directory. Just stay in your root. (Image 2)

Image 2: Open Terminal in Root directory

Step 2: Just run the following command in terminal.
xcrun simctl erase all

After doing these steps just close your terminal. You can restart your XCode too. Then try to run the XCode project again. Hurrah!!! It will work.

3 comments: