Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6.4 quits unexpectedly in macOS Sierra?

I have many working projects built in Xcode 6.4(had OS X Yosemite). Recently i updated to macOS Sierra. And also i have installed Xcode version 7.3.1. i.e. i have multiple Xcode versions installed following this link. http://iosdevelopertips.com/xcode/install-multiple-versions-of-xcode.html

However i can open my projects in Xcode 7.3.1 but it shows too many errors. i want to open it in Xcode 6.4, which is giving me the error "Xcode quit unexpectedly." each time i reopen the project in Xcode 6.4

I tried this solutions, still no results

  1. Xcode quits unexpectedly every time I open my project

  2. Xcode 5 crashes -- Xcode quit unexpectedly

I understand there is some compatibility issue. Is there any solution.SOMEONE PLEASE HELP ME.

like image 954
JB29.4 Avatar asked Sep 23 '16 06:09

JB29.4


1 Answers

I had the same problem. It seems the problem is related to Ubiquity.framework being missing in newer OS versions. I managed to get the Xcode 6.4 to working on OS 10.12 with following:

Disable System Integrity Protection (SIP)

  1. Restart your Mac.
  2. Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
  3. From the Utilities menu, select Terminal.
  4. At the prompt type exactly the following and then press Return: csrutil disable
  5. Terminal should display a message that SIP was disabled.
  6. From the  menu, select Restart. II. copy "OS X El Capitan 10.11.6" /System/Library/PrivateFrameworks/Ubiquiy.framework to "OS X Sierra" /System/Library/PrivateFrameworks/Ubiquity.framework

III. Enable System Integrity Protection (SIP)

credit goes to: http://bbs.iosre.com/t/xcode-6-4-on-os-x-sierra/5453 to work:

like image 190
kakopappa Avatar answered Oct 03 '22 07:10

kakopappa