有写代码大神写的python代码吗?来看看

为什么有的大神认为使用记事本写代码很牛逼? - 知乎119被浏览38834分享邀请回答11814 条评论分享收藏感谢收起16添加评论分享收藏感谢收起查看更多回答8 个回答被折叠()对字符串中的所有单词进行倒排。
1、每个单词是以26个大写或小写英文字母构成;
2、非构成单词的字符均视为单词间隔符;
3、要求倒排后的单词间隔符以一个空格表示;如果原字符串中相邻单词间有多个间隔符时,倒排转换后也只允许出现一个空格间隔符;
4、每个单词最长20个字母;
输入一行以空格来分隔的句子
输出句子的逆序
I am a student
student a am I
#include &iostream&
#include &string&
void func10(string str)
for (int i = 0; i & str.size(); ++i)
if (str[i] & 'A' || (str[i] & 'Z' && str[i] & 'a') || str[i] & 'z')
str[i] = ' ';
while (str.size() & 0)
int pos = str.find_last_of(' ');
if (pos == -1)
temp += str;
temp += str.substr(pos + 1);
if (str[i] == ' ')
temp += " ";
while (str[i] == ' ')
str = str.substr(0, i + 1);
cout && temp &&
int main()
string str;
while (getline(cin, str))
func10(str);
void deal(vector&string&&res,string& str, char delim = ' ') {
stringstream
while (ss&&tmp) {
res.push_back(tmp);
int main() {
while (getline(cin, str)) {
vector&string&
for (int i = 0; i & str.size(); i++)
if (!isalnum(str[i]))
str[i] = ' ';
deal(res, str);
cout && res[res.size() - 1];
for (int i = res.size() - 2; i &= 0; i--)
cout && " " && res[i];
巧妙的利用流提取符&&去掉多余的空格!
哎!自己要学的还有很多啊!
本文已收录于以下专栏:
相关文章推荐
不明白,为什么第一次循环输入项必须是in.hasNextInt()?
Java抽象类可以实例化吗?
抽象类不能用来创建对象;方法重载(overload):
1.必须是同一个类
2方法名(也可以叫函数)一样
3参数类型不一样或参数数量不一样方法的重写(overri...
今天小编为各位程序员总结了一些必备的
技术网站和刷题网站
开源代码库以及版本控制系统。
将一个含有正数和负数的数组按负数在前正数在后的顺序排列,负数与负数间,正数与正数间的相对位置不变。
刚看到这个题目,感觉和之前学过的所有排序都不一样,仔细想其实就是个插入排序的变形。
例如数组[-...
今天在尝试Google Hacking时,用“phonebook:allencnj”找到大学时代写的一篇文章:/doc/SP/Delphi/TheEdge510....
详细标注了JDBCUtils类的编写过程,写明了每一步的目的.如有错误,请各位务必指出,以免误导他人.
数据库连接是操作数据库的基础. 工具类一旦编写完成,便能省去大量重复操作,提高工作学习效率,更好...
今天在Delphi中使用ADO连接Excel(以前在一本书看过,复习一下-_-!!),有所收获,不敢独享。第一部分:1. 设置ADOConnection的ConnectionString属性的OLE ...
目录(?)[+]
1.给按钮加上BS_OWNERDRAW样式
2.重载DrawItem函数,在这里绘制按钮
3.关键之处就是把父窗口的背景复制到按钮上...
(请勿用于商业用途,转载时请注明作者和出处)
来自:酷壳 
原文:/articles/4506.htm...
来到这里,重新感受了下大学的气氛~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
他的最新文章
讲师:AI100
讲师:谢梁
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)Pages: 1/2
主题 : 一个很奇怪的编译错误,大神们来看看
级别: 新手上路
UID: 166527
可可豆: 76 CB
威望: 74 点
在线时间: 72(时)
发自: Web Page
来源于&&分类
一个很奇怪的编译错误,大神们来看看&&&
错误起因过程:开发的一个月的工程,大约有100多个文件(不含引用库)。一个星期前在同事的电脑上出现了下面这个错误,等下传错误描述。出现错误后,怀疑是xcode的库损坏,于是重新安装xcode,还是故障依旧。因为就一台电脑出现问题,折腾了两天,也就没有继续追查,一如既往开发。到了项目的尾声阶段,我也就不再查看提交代码。下载,所有的mac都无法编译这个工程了。自己做过的排查错误:1、升级mac到优胜美地2、重装了xcode3、新建的工程和以前的工程很正常4、在部分mac上,把target版本调整到8.1,可以模拟器运行,但是依然无法archive5、按照  这个帖子的8楼所示操作,无解。6、在stackoverflow上,有个提问的描述情况跟我一样,有人回答如下: it seems to be a bug in xcode 5 and github. I've tried doing git checkout to older commits, till I found one that did work. then I did git checkout back to the latest commit, and it   would magically work. the problem may reappear often, but then just repeating the process will do, as it did for me a couple of times.8、多台mac上都无法编译,排除xcode库的问题9、 拷贝了target,进行了各种编译调整,还是问题依旧。(调整项非常多,就不一一列举了)10、本人怀疑是配置文件损坏,于是新建了工程,把源代码拷贝过去,在把重点的工程配置调整一下,问题依旧。(这一步非常浪费精力,一大堆配置选项)11、由于第10步的操作,现在怀疑代码有问题。12、大致检查了以下代码的头文件,特别是@interface @end @implementation @end部分和头文件导入。没发现异常。(这一步也很浪费精力)13、现在用到的编译版本库有支付宝,支付宝集成之前就出现了这个问题,所以排除支付宝做鬼。但是不放心还是进行了14步操作。14、 删除支付宝,尽量剔除相关代码,还是问题依旧。15、 折腾xcode精疲力竭之后,只有用xcodebuild手动编译工程,问题依旧。现在个人怀疑:1、编译选项出错,xcode把部分文件当成C文件编译了2、代码里面真有问题,可是怎么检查呢?3、引用了openssl库,支付宝需要。引用形式是 .h和 .a。莫非是这些头文件引用了不该引用的?4、错误代码第一句是,循环包括。不知道怎么理解。求大神解答。/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: Cyclic dependency in module 'Darwin': Darwin -& Foundation -& CoreFoundation -& Darwin4、联系我QQ:,可远程。(可联系我谈报酬)错误描述:xcode输出的错误截图:
在代码中出现大量的could not build module 错误: [upload=2] 在部分代码中出现关键词未识别错误:
xcode错误详细描述:Check dependencieswarning: no rule to process file '/Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/SDWebImage/README.md' of type net.daringfireball.markdown for architecture i386CompileC /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/Objects-normal/i386/ReplyLinearView.o divorce_ios/ReplyLinearView.m normal i386 objective-c pilers.llvm.clang.piler    cd /Users/liuyu/projection/divorce_ios3.0    export LANG=en_US.US-ASCII    export PATH=&/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin&    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-cache-path=/Users/liuyu/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=8.1 -iquote /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/divorce-generated-files.hmap -I/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/divorce-own-target-headers.hmap -I/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/divorce-all-target-headers.hmap -iquote /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/divorce-project-headers.hmap -I/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries -I/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/DerivedSources/i386 -I/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/DerivedSources -F/Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Products/Debug-iphonesimulator -F/Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/Alipay -include /Users/liuyu/projection/divorce_ios3.0/divorce_ios/divorce.pch -MMD -MT dependencies -MF /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/Objects-normal/i386/ReplyLinearView.d --serialize-diagnostics /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/Objects-normal/i386/ReplyLinearView.dia -c /Users/liuyu/projection/divorce_ios3.0/divorce_ios/ReplyLinearView.m -o /Users/liuyu/Library/Developer/Xcode/DerivedData/divorce_ios-chndxqfnyuqasyeurqsvsbhojgzv/Build/Intermediates/divorce_ios.build/Debug-iphonesimulator/divorce_ios.build/Objects-normal/i386/ReplyLinearView.oWhile building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& CoreFoundation -& Darwin#include &sys/types.h&         ^1 error generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'#include &CoreFoundation/CoreFoundation.h& ~~~~~~~~^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'ObjectiveC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:In file included from &module-includes&:2:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/objc/message.h:29:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/objc/objc.h:31:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& ObjectiveC -& Darwin#include &sys/types.h&      // for __DARWIN_NULL         ^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'ObjectiveC' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:While building module 'MachO' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/objc/objc-load.h:33:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/mach-o/arch.h:32:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& ObjectiveC -& MachO -& Darwin#include &stdint.h&         ^1 error generated.2 errors generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h:6:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/dispatch/dispatch.h:25:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& Dispatch -& Darwin#include &Availability.h&         ^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h:6:While building module 'os' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/dispatch/dispatch.h:48:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/os/base.h:24:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& Dispatch -& os -& Darwin#include &sys/cdefs.h&         ^1 error generated.2 errors generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:While building module 'Foundation' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:While building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:In file included from &module-includes&:1:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:24:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:32:10: fatal error: cyclic dependency in module 'Darwin': Darwin -& Foundation -& Security -& Darwin#include &Availability.h&         ^1 error generated.7 errors generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:In file included from &module-includes&:48:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/usr/include/grp.h:76:/Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/uuid/uuid.h:9:9: fatal error: could not build module 'Foundation'#import &Foundation/Foundation.h& ~~~~~~~^8 errors generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:In file included from &module-includes&:1:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: fatal error: could not build module 'Darwin'#import &Availability.h& ~~~~~~~^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'CoreGraphics' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:8:In file included from &module-includes&:1:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:8:10: fatal error: could not build module 'Darwin'#include &stdbool.h& ~~~~~~~~^1 error generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:10:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:9: fatal error: could not build module 'Foundation'#import &Foundation/Foundation.h& ~~~~~~~^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:10:While building module 'CoreVideo' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:8:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: fatal error: could not build module 'Darwin'#include &TargetConditionals.h& ~~~~~~~~^1 error generated.2 errors generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'CoreText' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h:9:In file included from &module-includes&:1:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:20:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:28:11: fatal error: could not build module 'Darwin'# include &Availability.h&  ~~~~~~~~^1 error generated.While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:11:In file included from &module-includes&:1:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:6:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h:6:In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h:6:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h:11:10: fatal error: could not build module 'Darwin'#include &stdbool.h& ~~~~~~~~^While building module 'UIKit' imported from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h:11:While building module 'OpenGLES' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:In file included from &module-includes&:1:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: could not build module 'Foundation'#include &Foundation/Foundation.h& ~~~~~~~~^1 error generated.2 errors generated.15 errors generated.In file included from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/ReplyLinearView.m:9:In file included from /Users/liuyu/projection/divorce_ios3.0/divorce_ios/ReplyLinearView.h:9:/Users/liuyu/projection/divorce_ios3.0/divorce_ios/Libraries/RichText/VerticalLinearView.h:9:9: fatal error: could not build module 'UIKit'#import &UIKit/UIKit.h& ~~~~~~~^16 errors generated.最后衷心感谢每一位有耐心看到这一行的每位大神。
级别: 新手上路
可可豆: 71 CB
威望: 61 点
在线时间: 1252(时)
发自: Web Page
不懂,帮楼主顶一下吧。。希望楼主解决了能分享一下
级别: 新手上路
可可豆: 78 CB
威望: 68 点
在线时间: 52(时)
发自: Web Page
菜鸟只能静静去飘过
做个性的自己,让任性成为你的代名词!
级别: 侠客
UID: 425558
可可豆: 408 CB
威望: 312 点
在线时间: 731(时)
发自: Web Page
级别: 新手上路
UID: 494683
可可豆: 18 CB
威望: 18 点
在线时间: 3(时)
发自: Web Page
才开始学得菜鸟表示遇到同样的问题,本来好好的让后添加了一个第三方库的路径,就开始报各种模块不能被创建!
级别: 新手上路
UID: 504102
可可豆: 20 CB
威望: 17 点
在线时间: 4(时)
发自: Web Page
级别: 新手上路
可可豆: 46 CB
威望: 41 点
在线时间: 699(时)
发自: Web Page
framework可能被改了,出现错误了
级别: 精灵王
UID: 358979
发帖: 1274
可可豆: 2389 CB
威望: 2032 点
在线时间: 1161(时)
发自: Web Page
应该是库的问题
然并卵!!!!
级别: 新手上路
可可豆: 92 CB
威望: 82 点
在线时间: 107(时)
发自: Web Page
级别: 新手上路
可可豆: 92 CB
威望: 82 点
在线时间: 107(时)
发自: Web Page
警告是说那个SDWebiamge第三方里面有个README.md的不支持i386的&&我的工程也有这样的警告 我把第三方那个删掉就没有那个警告了不影响工程
Pages: 1/2
关注本帖(如果有新回复会站内信通知您)
发帖、回帖都会得到可观的积分奖励。
按"Ctrl+Enter"直接提交
关注CocoaChina
关注微信 每日推荐
扫一扫 关注CVP公众号
扫一扫 浏览移动版}

我要回帖

更多关于 代码大神 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信