/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root ios ios

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root


I used this command on terminal:

sudo chown root /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim

This command change the ownership of the file dyld_sim to the root.


I have same problem after little research i found the solution,

type following command in terminal:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

enter image description here

Enjoy two versions for Xcode Happy Programming :)


Tap on quit and restart the Xcode again and it will open fine. Just had exact same problem and on restart, Xcode opened and worked fine.