Dim
Dim

Reputation: 4807

Install xcode 4 on OS X Yosemite

I need to install old version of Xcode on Yosemite. Xcode 5 installed perfectly but I am facing problem with Xcode 4. It crashes, these are the errors:

Process:               Xcode [4341]
Path:                  /Applications/Xcode 3.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               4.6.3 (2068)
Build Info:            IDEApplication-2068000000000000~3
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [4341]
User ID:               501

OS Version:            Mac OS X 10.10 (14A389)
Report Version:        11
Anonymous UUID:        5F18251C-5B88-768B-7023-12B7B510FD63


Time Awake Since Boot: 13000 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 4H1503
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.OrganizerSource.ArchivedApplications.ArchiveListContextualMenu' in plug-in 'com.apple.dt.IDE.IDEArchivedApplicationsViewer'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x4016afbe0 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEiPhoneSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPhoneSupport, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDEiPhoneSupport\U201d at path \U201c/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin\U201d could not be loaded.  The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x40033a480 \"The bundle \U201cIDEiPhoneSupport\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
}
Hints: None
Backtrace:
  0  0x00007fff97fe3634 __exceptionPreprocess (in CoreFoundation)
  1  0x00007fff8db0c6de objc_exception_throw (in libobjc.A.dylib)
  2  0x0000000106012e16 -[DVTExtension valueForKey:] (in DVTFoundation)

ect....

Upvotes: 2

Views: 4633

Answers (1)

DarkDust
DarkDust

Reputation: 92306

Instead of trying to run Xcode 4, I suggest you run Xcode 5 or 6 but install the iOS 6 SDK so you can compile your iOS 6 SDK app on Xcode 5 or 6.

Be aware that Apple will not accept any app submission with SDK < 8 after February 2015. Apps also need to be 64-bit as well (of course, you're still allowed to ship a dual 32-bit/64-bit app).

Upvotes: 4

Related Questions