“无法构建模块‘基础’" [英] "could not build module 'Foundation'"

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

问题描述

搜索了这个问题,没有找到太多帮助.

Searched for this question and could not find much help.

"could not build module 'Foundation'"

#import <Foundation/Foundation.h>

不确定是什么问题.感谢您的任何建议.

Not certain what the problem is. Thank you for any advice.

推荐答案

我能够使用此 Apple 支持社区中提供的解决方案解决此问题 线程:

I was able to solve this using the solution provided in this Apple Support Communities thread:

这里真正的问题是在会话中的构建设置:Apple LLVM 5.0 - 语言 - 模块,我们应该将启用模块(C 和目标 C)设置为 NO

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) to NO

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

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