Xcode 5 - 无法构建模块 [英] Xcode 5 - Could not build module
问题描述
我在我的项目启用模块(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屋!