Fix”libobjc.A.dylib is being read from process memory”

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

  1. Quit xcode
  2. 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!!!

A pat on the back !!