Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot start Xcode 6.1.1 after duplicating the app folder

On our build system, we need to preserve multiple Xcode versions in order to also build older projects. We duplicate the Xcode app folder for every major Xcode release (from within Finder).

However, after duplicating the Xcode 6.1.1 folder, I couldn't start the app. After double-clicking on the duplicated folder (Xcode-6.1.1.app), it briefly showed the "Welcome" screen, then immediately closed it and showed an alert saying:

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

The original Xcode.app can be opened normally. I could reproduce this problem on both Mavericks and Yosemite.

Has anyone seen this? Any ideas how to make the duplicated Xcode working? Thanks!

See the screenshot below

like image 968
zavié Avatar asked Apr 06 '26 11:04

zavié


1 Answers

Open Terminal and just type this code

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

enjoy multiple version of xcode :)

like image 116
Rizwan Qureshi Avatar answered Apr 09 '26 02:04

Rizwan Qureshi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!