错误提示:fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h' has been modified since the precompiled header '/Users/Rain/Library/Developer/Xcode/DerivedData/ModuleCache/VAU3ZWN6T3KV/UIKit-2M4VYLEDI34V0.pcm' was built

note: please rebuild precompiled header '/Users/Rain/Library/Developer/Xcode/DerivedData/ModuleCache/VAU3ZWN6T3KV/UIKit-2M4VYLEDI34V0.pcm'
1 error generated.
解决办法:删除以上标记的’/Users/imac/Library/Developer/Xcode/DerivedData/ModuleCache/1M29HZNHW3I5B/UIKit-2M4VYLEDI34V0.pcm文件。
删除之后好有可能出现fatal error: could not build module ‘UIKit’错误提示, 办法是删除/Users/imac/Library/Developer/Xcode/DerivedData/ModuleCache文件夹,重新编译、运行方可。
注意:imac下的Library(资源库)一般都隐藏啦,进入终端,输入chflags nohidden ~/Library/就可以了。

错误提示:Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
原因分析:在StoryBoard中没有一个view controller设置了Initial Scene。
解决方案:在Storyboard中,选择一个view conroller作为story board的第一启动界面。如果导航控制器是初始界面,那应该把导航控制器设为初始启动界面,而不是登录界面。

错误提示:target specifies product type 'com.Apple.product-type.bundle.ui-testing', but there's no such product type for the 'iPhonesimulator' platform!
解决方案:http://www.07net01.com/2015/09/930192.html

错误提示:ld: library not found for -lPods-AFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方案:下载的开源APP使用了使用了CocoaPods,要使用workspace打开,而不是直接打开xcodeproj文件。

错误提示:diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
解决办法:1.安装CocoaPods;2.用pod install命令导入项目依赖框架;3.打开xcworkspace文件(不要用xcproj文件打开)
安装依赖框架需要定位到项目所在目录“cd /Users/Rain/Documents/开源/开源APP/GreatReader-master”再执行“pod install”命令(这个命令会运行项目里包含的Podfile文件)

错误提示:Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`
解决办法:sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer,后面的地址可以打开Xcode显示包内容,找到那个文件夹拖到终端里。

错误提示:"this class is not key value coding-compliant for the key ..."
解决办法:一般此问题都是由Interface Build与代码中IBOutlet的连接所引起的。可能是在代码中对IBOutlet的名称进行了修改,导致Interface Build中的连接实效。

iOS开发错误日志的更多相关文章

  1. ios开发——错误总结篇&开发中常见错误和警告总结(四)

    ios开发——开发总结&开发中常见错误和警告总结(四) 网易彩票实战总结(错误) 错误总结之类的实现 经典错误之重复定义与导入错误 经典错误关于父类的实现 通知对象: 控制器的定义 Xcode ...

  2. IOS开发错误

    After modifying system headers, please delete the module cache at '/Users/XXX/Library/Developer/Xcod ...

  3. ios开发错误之: Undefined symbols for architecture x86_64

    错误如下: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_RoutingHTTPServer", refere ...

  4. ios开发错误笔记

    今天的奇葩错误,最后解决方式是删除了手机上面的快捷方式,然后再clean,然后再重启了xcode.无语了,xcode也经常出些奇葩问题,真无语啊. ios技术交流群:378501081..期待你加入. ...

  5. 开发错误日志之Unix/Linux命令未执行或无结果等且程序无错误

    在Unix/Linux环境中开发时,特别要注意权限问题,否则经常找不到错误的原因,其实就是因为权限所致.

  6. iOS开发错误汇总

    人非圣贤孰能无过 dyld: Library not loaded: /... 过而能改善莫大焉 iOS下dyld: Library not loaded: 错误信息解决方案

  7. iOS开发进阶 - 日志输出框架CocoaLumberjack与XcodeColors插件的简单使用(swift版)

    CocoaLumberjack是Mac和iOS上一个集快捷.简单.强大和灵活于一身的日志框架.XcodeColors是用于控制台着色的工具,配合着CocoaLumberjack用有更好的效果,不废话, ...

  8. IOS开发错误提示原因集合-----长期更新

    "[__NSCFConstantString size]: unrecognized selector sent to instance." =>将NSString类型的参数 ...

  9. 开发错误日志之FTP协议传输文件问题

    从开发端用FTP协议向服务器(Linux系统)传输文件时,cat -A查询文件内容中行尾会有^M出现. 解决方案:改用SFTP协议上传文件.

随机推荐

  1. RNAseq分析软件STAR的安装

    wget https://github.com/alexdobin/STAR/releases/STAR-2.5.2a.tar.gz tar -xzf STAR-2.5.2a.tar.gz cd ST ...

  2. CUBRID学习笔记23 关键字列表

    先放上特殊的字符 Backtick Symbol - `    反引号 同撇 Double Quotes - "      双引号 Square Brackets - [  中括号 如    ...

  3. python_way day15 HTML-DAY2 HTML-DAY2、JS

    python_way day15 HTML-DAY2 html-css回顾 javascript 一.html-css回顾 1.input与+,-号的写法 <!DOCTYPE html> ...

  4. hdu 5927 Auxiliary Set 贪心

    Auxiliary Set Time Limit: 9000/4500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Pr ...

  5. for循坏的穷举与迭代,while、do while循环

    for循环的穷举:所有情况走一遍,使用if筛选出符合的情况. 单位发一张150元购物卡,到超市买三种洗化用品,洗发水15元,香皂两元,牙刷5元,刚好花完150元,有多少种买法,每种买法各买几样. 百鸡 ...

  6. MySQL Server 5.7解压版缺少文件无法启动

    如题: 一般认为5.7中mysql目录下 缺少data/mysql/目录,导致无法启动: 解决方案: 重新安装5.6即可: 1.删除5.7中安装的服务: 到mysql\bin目录下运行:mysqld ...

  7. RAR暴破

    1. 网上稍微搜索了一下,貌似一个叫 "ARPR"的软件 出现的频率较高. 2. http://jingyan.baidu.com/article/a948d651b954a90a ...

  8. poj1474Video Surveillance(半平面交)

    链接 半平面交的模板题,判断有没有核.: 注意一下最后的核可能为一条线,面积也是为0的,但却是有的. #include<iostream> #include <stdio.h> ...

  9. 自定义获取焦点的TextView

    自定义控件编写流程 创建一个默认就能获取焦点的TextView 1.创建一个类继承至TextView,FocusTextView 2.重写其构造方法 //使用在通过java代码创建控件 public ...

  10. select动态增加option

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xht ...