objective-c - "could not build module ' 基础 '"

标签 objective-c foundation

搜索了这个问题,找不到太多帮助。

"could not build module 'Foundation'"

#import <Foundation/Foundation.h>
不确定是什么问题。谢谢你的任何建议。

最佳答案

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

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

关于objective-c - "could not build module ' 基础 '",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25999754/

相关文章:

ios - 何时在 Swift 中子类化 NSObject

objective-c - 我的系统拒绝使用 NSAppleScript 类关闭/重启

iphone - 如何使用 TTTAttributedLabel 添加 "Read more"

cocoa - strtotime -> NSDate

objective-c - 是否可以调用 NSDictionary 的 valueForKeyPath : when a key contains periods?

swift - 达到最大值后自动添加加号

swift - 框架内的私有(private) Swift 和 ObjC 依赖项

ios - 一个 UIButton 上的两个控件事件

objective-c - launchd 终止进程时是否调用了 XPC 中断处理程序?

ios - Foundation 集合无法存储 nil 是否有深层设计原因?