The error occurs when LLDB fails to read necessary binary from given below folder and tries to read from device memory
~/Library/Developer/Xcode/iOS\ DeviceSupport
A quick fix solution will be to remove the device support folder entirely. Follow the steps given below to do so
- Quit xcode
- Run following command in terminal:
rm -r ~/Library/Developer/Xcode/iOS\ DeviceSupport
Xcode will be forced to recreate device support files thus removing any corrupt files which was preventing LLDB from reading it.
If you are a true Xcode veteran then it would be blasphemous to neglect our after error ritual of deleting derived data and cleaning.
Hope it helps!!!