标签:
开发中常见错误和警告总结(五)
一、Missing file xxx
如果你在finder中删除了工程里面的文件,xcode上会出现一个警告,Missing file xxx, 有个警告在那恨事不自在.上网着了下,发现了如下解决方法:
1.打开terminal, cd 到刚才你删除的文件的文件夹,就是xcode提示你missing的文件夹
2.执行 svn delete missFileName
二、LLVM GCC Warning
具体改 :选中 project->build setting->build options->complier for c/objective-c/c++ -> LLVM GCC 4.2
三、declaration of will not be visible outside of this function
+ (Reachability*) reachabilityWithAddress: (const struct sockaddr_in*) hostAddress;(这里报的)
解决方法:Add #import <netinet/in.h>
in Reachability.h to get away with this
标签:
原文地址:http://www.cnblogs.com/iCocos/p/4758678.html