XCODE 无法加载平台
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4178282/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCODE fail to load platform
提问by ragnarius
I am trying to learn iphone programming and I have just upgraded xcode to version 3.2.4 (and to iOS 4.1).
我正在尝试学习 iphone 编程,我刚刚将 xcode 升级到 3.2.4 版(以及 iOS 4.1)。
When I create a new project I get the "Internal error" seen below. What is wrong? (by the way, I can't see any message in the console)
当我创建一个新项目时,我收到如下所示的“内部错误”。怎么了?(顺便说一句,我在控制台中看不到任何消息)
Internal Error
File: /SourceCache/DevToolsBase/DevToolsBase-1705/pbxcore/Target.subproj/PBXTarget.m
Line: 1603
Object: <PBXNativeTarget:0x20088e7c0>
Method: createPropertyExpansionContextWithBuildState:
Platform failed to completely load. Examine Console Log for error messages.
回答by IgnacioV
The same happened to me, and I fixed in the same way. Reinstaling from the same dowload image.
同样的事情发生在我身上,我以同样的方式修复。从相同的下载图像重新安装。
回答by JP1971
The first thing you need to do is follow the directive in the error message and check the console log. To do so, choose Run -> Console (or press Shift-Command-R). Read any displayed error messages. If you can't get to the root of the problem from there, post the console log, and I'll take a look.
您需要做的第一件事是遵循错误消息中的指令并检查控制台日志。为此,请选择“运行”->“控制台”(或按 Shift-Command-R)。阅读任何显示的错误消息。如果你不能从那里找到问题的根源,把控制台日志贴出来,我去看看。
回答by Jason Kwan
I am also getting the exact same message with the version of the SDK that I downloaded yesterday. Here's what I get in the console. I verified that /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin exists, so I'm not sure what the problem is.
我也收到了与我昨天下载的 SDK 版本完全相同的消息。这是我在控制台中得到的。我确认 /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin 存在,所以我不确定问题是什么。
There were about 20 copies of the first message, I only pasted in one.
第一条信息大约有20份副本,我只粘贴了一个。
11/14/10 9:12:14 AM Xcode[8973] WARNING: Failed to load plugin at: /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin, skipping. Could not load bundle.
11/14/10 9:12:14 AM Xcode[8973] 警告:无法加载插件:/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS Build System Support.xcplugin,跳过. 无法加载捆绑包。
11/14/10 9:12:14 AM Xcode[8973] Platform validation failed for Class 'XCiPhoneOSCodeSignContext' 11/14/10 9:12:14 AM Xcode[8973] [MT] File: /SourceCache/DevToolsBase/DevToolsBase-1705/pbxcore/Target.subproj/PBXTarget.m Line: 1603 Object: Method: createPropertyExpansionContextWithBuildState:
11/14/10 9:12:14 AM Xcode[8973]“XCiPhoneOSCodeSignContext”类的平台验证失败 11/14/10 9:12:14 AM Xcode[8973] [MT] 文件:/SourceCache/DevToolsBase/DevToolsBase- 1705/pbxcore/Target.subproj/PBXTarget.m 行:1603 对象:方法:createPropertyExpansionContextWithBuildState:
Platform failed to completely load. Examine Console Log for error messages. Backtrace:
平台无法完全加载。检查控制台日志以获取错误消息。回溯:
0 0x000000010099fe19 -[PBXAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in DevToolsInterface)
0 0x000000010099fe19 -[PBXAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:](在 DevToolsInterface 中)
1 0x00000001002dab1f _XCAssertionFailureHandler (in DevToolsCore)
1 0x00000001002dab1f _XCAssertionFailureHandler(在 DevToolsCore 中)
2 0x00000001000e9ca1 -[PBXTarget createPropertyExpansionContextWithBuildState:] (in DevToolsCore)
2 0x00000001000e9ca1 -[PBXTarget createPropertyExpansionContextWithBuildState:](在 DevToolsCore 中)
3 0x00000001000e9212 -[PBXTarget createPropertyExpansionContextWithBuildAction:configurationName:] (in DevToolsCore)
3 0x00000001000e9212 -[PBXTarget createPropertyExpansionContextWithBuildAction:configurationName:](在 DevToolsCore 中)
4 0x00000001000e8ca2 -[PBXTarget cachedPropertyExpansionContextForConfigurationNamed:] (in DevToolsCore)
4 0x00000001000e8ca2 -[PBXTarget cachedPropertyExpansionContextForConfigurationNamed:](在 DevToolsCore 中)
5 0x00000001000e8b33 -[PBXTarget expandedValueForString:forConfigurationNamed:] (in DevToolsCore)
5 0x00000001000e8b33 -[PBXTarget extendedValueForString:forConfigurationNamed:](在 DevToolsCore 中)
6 0x00000001000f8c79 -[PBXProject _validArchsMayHaveChanged:] (in DevToolsCore)
6 0x00000001000f8c79 -[PBXProject _validArchsMayHaveChanged:](在 DevToolsCore 中)
7 0x00000001000f69a0 -[PBXProject _unarchiverDidFinishUnarchiving:] (in DevToolsCore)
7 0x00000001000f69a0 -[PBXProject _unarchiverDidFinishUnarchiving:](在 DevToolsCore 中)
8 0x00007fff819f8a66 _nsnote_callback (in Foundation)
8 0x00007fff819f8a66 _nsnote_callback(在基金会中)
9 0x00007fff87d7e000 __CFXNotificationPost (in CoreFoundation)
9 0x00007fff87d7e000 __CFXNotificationPost(在 CoreFoundation 中)
10 0x00007fff87d6a578 _CFXNotificationPostNotification (in CoreFoundation)
10 0x00007fff87d6a578 _CFXNotificationPostNotification(在CoreFoundation中)
11 0x00007fff819ef9ce -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
11 0x00007fff819ef9ce -[NSNotificationCenter postNotificationName:object:userInfo:](在基金会中)
12 0x00000001000d2cbb -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
12 0x00000001000d2cbb -[PBXPListUnarchiver decodeRootObject](在 DevToolsCore 中)
13 0x00000001000d0da4 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
13 0x00000001000d0da4 +[PBXProject projectWithFile:errorHandler:readOnly:](在 DevToolsCore 中)
14 0x00000001000d0003 +[PBXProject projectWithFile:errorHandler:] (in DevToolsCore)
14 0x00000001000d0003 +[PBXProject projectWithFile:errorHandler:](在 DevToolsCore 中)
15 0x0000000100963460 -[PBXProjectTemplateClonerWizard _instantiateASCIIMacroTemplateWithContext:] (in DevToolsInterface)
15 0x0000000100963460 -[PBXProjectTemplateClonerWizard _instantiateASCIIMacroTemplateWithContext:](在 DevToolsInterface 中)
16 0x00000001009634f7 -[PBXProjectTemplateClonerWizard _instantiateTemplateWithContext:] (in DevToolsInterface)
16 0x00000001009634f7 -[PBXProjectTemplateClonerWizard _instantiateTemplateWithContext:](在 DevToolsInterface 中)
17 0x00000001009d29d6 -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] (in DevToolsInterface)
17 0x00000001009d29d6 -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:](在 DevToolsInterface 中)
18 0x00000001009d2895 -[PBXFileCopyingWizard _checkForOverwritingFiles:] (in DevToolsInterface)
18 0x00000001009d2895 -[PBXFileCopyingWizard _checkForOverwritingFiles:](在 DevToolsInterface 中)
19 0x00000001009400f1 -[PBXProjectWizard finish] (in DevToolsInterface)
19 0x00000001009400f1 -[PBXProjectWizard 完成](在 DevToolsInterface 中)
20 0x000000010093be24 -[PBXProjectWizardChooserWizard sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:] (in DevToolsInterface)
20 0x000000010093be24 -[PBXProjectWizardChooserWizard sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:](在开发工具界面中)
21 0x00000001008e3fda +[PBXOpenSavePanelHelper sheetDidEnd:returnCode:contextInfo:] (in DevToolsInterface)
21 0x00000001008e3fda +[PBXOpenSavePanelHelper sheetDidEnd:returnCode:contextInfo:](在开发工具界面中)
22 0x00007fff86bd9946 -[NSSavePanel _didEndSheet:returnCode:contextInfo:] (in AppKit)
22 0x00007fff86bd9946 -[NSSavePanel _didEndSheet:returnCode:contextInfo:](在 AppKit 中)
23 0x00007fff8697fbd1 -[NSApplication endSheet:returnCode:] (in AppKit)
23 0x00007fff8697fbd1 -[NSApplication endSheet:returnCode:](在AppKit中)
24 0x00007fff86891e9a -[NSApplication sendAction:to:from:] (in AppKit)
24 0x00007fff86891e9a -[NSApplication sendAction:to:from:](在 AppKit 中)
25 0x00007fff86891df9 -[NSControl sendAction:to:] (in AppKit)
25 0x00007fff86891df9 -[NSControl sendAction:to:](在 AppKit 中)
26 0x00007fff8691d76b -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
26 0x00007fff8691d76b -[NSCell trackMouse:inRect:ofView:untilMouseUp:](在 AppKit 中)
27 0x00007fff8694e2aa -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
27 0x00007fff8694e2aa -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:](在 AppKit 中)
28 0x00007fff8691c215 -[NSControl mouseDown:] (in AppKit)
28 0x00007fff8691c215 -[NSControl mouseDown:](在 AppKit 中)
29 0x00007fff8683634f -[NSWindow sendEvent:] (in AppKit)
29 0x00007fff8683634f -[NSWindow sendEvent:](在 AppKit 中)
30 0x00007fff8676ba86 -[NSApplication sendEvent:] (in AppKit)
30 0x00007fff8676ba86 -[NSApplication sendEvent:](在 AppKit 中)
31 0x00000001007fc21c -[PBXExtendedApplication sendEvent:] (in DevToolsInterface)
31 0x00000001007fc21c -[PBXExtendedApplication sendEvent:](在 DevToolsInterface 中)
32 0x00007fff867024da -[NSApplication run] (in AppKit)
32 0x00007fff867024da -[NSApplication 运行](在 AppKit 中)
33 0x00007fff866fb1a8 NSApplicationMain (in AppKit)
33 0x00007fff866fb1a8 NSApplicationMain(在AppKit中)
34 0x00000001000017b4
34 0x00000001000017b4