在Xcode更新到5.0.2之后,我无法为iOS 6.0目标构建我的应用程序。我只能为iOS 7.0构建
我犯了很多错误:
Could not build module CoreFoundation
Could not build module Darwin
Cyclic dependency in module Darwin: Darwin -> Foundation -> CoreFoundation -> Darwin
Could not build module Foundation有趣的是,在更新之前,可以为iOS 6.0、编译应用程序,但在为iPhone 4/4S编译应用程序时,I也有相同的错误
PS。构建设置- armv7,armv7s。无arm64.
发布于 2015-10-03 13:20:08
也有同样的问题。解决办法如下:
转到Build settings -> Apple LLVM 7.0 - Language - Modules -> Enable Modules (C and Objective-C),并将其切换到NO以进行调试和发布。
发布于 2017-01-07 11:11:50
我能够通过将Header Search Paths设置移动到User Header Search Paths来解决这个问题。
发布于 2018-02-20 02:06:01
我能够通过使头搜索路径非递归而不是递归来解决这个问题。
https://stackoverflow.com/questions/20389765
复制相似问题