Xcode 5安装Xcode 6 beta 2后无法构建模块Cocoa [英] Xcode 5 Couldn't build module Cocoa after installing Xcode 6 beta 2

查看:153
本文介绍了Xcode 5安装Xcode 6 beta 2后无法构建模块Cocoa的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了Xcode 6 beta 2.尝试了之后,我想继续我的工作,并构建一个项目(用5.1创建,从未在Xcode 6中打开),但在Xcode 5.1中,但我得到以下错误: p>

 无法构建模块'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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆