简体   繁体   English

在OS X Yosemite上安装xcode 4

[英]Install xcode 4 on OS X Yosemite

I need to install old version of Xcode on Yosemite. 我需要在优胜美地上安装旧版本的Xcode。 Xcode 5 installed perfectly but I am facing problem with Xcode 4. It crashes, these are the errors: Xcode 5完美安装,但我面临Xcode 4的问题。它崩溃了,这些是错误:

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.... ECT ....

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. 建议不要运行Xcode 5或6,而要安装iOS 6 SDK,这样就可以在Xcode 5或6上编译iOS 6 SDK应用程序,而不是尝试运行Xcode 4。

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). 请注意,2015年2月之后, Apple将不接受SDK <8的任何应用程序提交 。应用程序也必须也是64位的(当然,仍然允许您发布双32位/ 64位应用程序) 。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在xcode 6.1和os x中,优胜美地不支持ios 7.1及以下版本? - In xcode 6.1 and os x yosemite is not supporting ios 7.1 and below version? 在OS X Yosemite,xCode 6上构建libxml2-2.9.2 - Building libxml2-2.9.2 on OS X Yosemite, xCode 6 OS X Yosemite使用XCode5代码签名错误提交应用 - OS X Yosemite Submit App Using XCode5 Code Sign Error 为什么UICollectionViewCell的插座在Interface Builder Xcode7.1 OS X Yosemite中为零? - Why is UICollectionViewCell's outlet nil in Interface Builder Xcode7.1 OS X Yosemite? 无法在Mac OS X Mavericks(10.9.5。)和Yosemite(10.10.2)上下载XCode 6.2 - Trouble downloading XCode 6.2 on Mac OS X Mavericks (10.9.5.) and Yosemite (10.10.2) OS X Yosemite上的Game Center对接不起作用 - Game Center Matchmaking on OS X Yosemite Not Working 无法在OS X El Capitan 10.11中安装Xcode 4.5.2 - Unable to install Xcode 4.5.2 in OS X El Capitan 10.11 PackageApplication今天停止与OS X 10.10(Yosemite)一起使用 - PackageApplication stopped working with OS X 10.10 (Yosemite) today 在本地网络上为Yosemite OS X Server设置Profile Manager - Setting up Profile Manager for Yosemite OS X Server on a local network 如何在 VMware 中运行的 MAX OSX 中安装 Xcode - 无法安装 Xcode,因为需要 OS X 10.12 或更高版本 - How to install Xcode in MAX OSX running in VMware - Xcode can’t be installed on because OS X version 10.12 or later is required
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM