Xcode 5 - 无法构建模块 [英] Xcode 5 - Could not build module

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

问题描述

我在我的项目启用模块(C 和 ObjectiveC)"中打开了标志,但出现 1000 多个错误:

<块引用>

'无法构建模块'安全''无法构建模块'基础'

等等.等等...对于包含的每个框架

有其他人遇到过这个问题吗?

解决方案

我在使用 Social.h 时遇到了同样的问题.通过关注

I've turned on the flag in my project 'Enable Modules (C and ObjectiveC)' and i get 1000+ errors:

'Could not build module 'Security' 'Could not build module 'Foundation'

etc. etc... for every framework included

Has anyone else experienced this problem?

解决方案

I had same problem with Social.h. Fixed this issue by following this link..

EDIT: In case the link breaks in the future, I'm adding the solution quoted from the page

The real problem here is at Build settings in the session: Apple

LLVM 5.0 - language - Modules, we should set Enable Modules (C and

objective c) as NO

这篇关于Xcode 5 - 无法构建模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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