Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Xcode 6.1 got the error after installation of component have done. Xcode installer is the copy from other mac. Pls help me how to solve dyld_sim error.... Thanks

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim is not owned by root.
like image 225
Aung Aung Avatar asked Dec 10 '14 05:12

Aung Aung


2 Answers

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.

like image 144
Bruno Morais Avatar answered Oct 19 '22 14:10

Bruno Morais


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 :)

like image 11
Umar Farooq Avatar answered Oct 19 '22 13:10

Umar Farooq