Xcode 5安装Xcode 6 beta 2后无法构建模块Cocoa [英] Xcode 5 Couldn't build module Cocoa after installing Xcode 6 beta 2
问题描述
无法构建模块'Cocoa'
错误来自的前缀文件看起来像这样(我没有修改它):
#ifdef __OBJC__
#import< Cocoa / Cocoa.h>
#endif
每次尝试建立此邮件时,系统都会记录:
xpcd [235]:Info.plist不包含XPCService字典:/System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent。 xpc
我不确定上述讯息是否与问题有关。
此外,现在在我看来,我无法使用Xcode 5构建任何项目。
我终于恢复了Xcode 5使用Time Machine到我安装Xcode 6 Beta 2之前的版本。它再次工作,但我不知道Xcode 6 Beta 2做了什么打破它。
I just installed Xcode 6 beta 2. After trying it out, I wanted to continue my work and build a project (created with 5.1 and never opened in Xcode 6), in Xcode 5.1 but I get the following error:
Could not build module 'Cocoa'
The prefix file the error is coming from looks like this (I didn't modified it):
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
Every time I try to build this message is logged:
xpcd[235]: Info.plist does not contain an XPCService dictionary: /System/Library/Frameworks/Security.framework/XPCServices/SecurityAgent.xpc
I'm not sure the above message has anything to do with the problem.
Additionally now it seems to me like I can't build any project using Xcode 5.
I finally restored Xcode 5 using Time Machine to a version before my install of Xcode 6 Beta 2. It works again, but I have no idea what Xcode 6 Beta 2 did to break it.
这篇关于Xcode 5安装Xcode 6 beta 2后无法构建模块Cocoa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!