ios - 在 OS X Yosemite 上安装 xcode 4
<p><p>我需要在 Yosemite 上安装旧版本的 Xcode。 Xcode 5 安装完美,但我遇到了 Xcode 4 的问题。它崩溃了,这些是错误:</p>
<pre><code>Process: Xcode
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: ???
Responsible: Xcode
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: 0Dispatch 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:
00x00007fff97fe3634 __exceptionPreprocess (in CoreFoundation)
10x00007fff8db0c6de objc_exception_throw (in libobjc.A.dylib)
20x0000000106012e16 - (in DVTFoundation)
</code></pre>
<p>等等……</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我建议您运行 Xcode 5 或 6,而不是尝试运行 Xcode 4,但 <a href="https://stackoverflow.com/questions/18423896/is-it-possible-to-install-ios-6-sdk-on-xcode-5" rel="noreferrer noopener nofollow">install the iOS 6 SDK</a>因此您可以在 Xcode 5 或 6 上编译您的 iOS 6 SDK 应用程序。</p>
<p>请注意 <a href="https://developer.apple.com/news/?id=10202014a" rel="noreferrer noopener nofollow">Apple will not accept any app submission with SDK < 8</a> 2015 年 2 月之后。应用程序也需要是 64 位的(当然,您仍然可以发布双 32 位/64 位应用程序)。</p></p>
<p style="font-size: 20px;">关于ios - 在 OS X Yosemite 上安装 xcode 4,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/26733262/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/26733262/
</a>
</p>
页:
[1]