I have uninstall xcode and reinstalled. I also tried below
Just unset DYLD_INSERT_LIBRARIES environment variable in the /etc/launchd.conf or ~/.launchd.conf file. Which you can edit by
sudo vi /etc/launchd.conf command. remove the above flag save it by "ZZ" (captial Z) and reboot the system.But no solution found so far. Please help me to resolve it.