如果不小心修改了系统SDK文件,编译无法通过改怎么办?(iOS开发)
2014-12-16 12:07
711 查看
工程报如下错误:
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator8.0.sdk/usr/include/sysexits.h' has been modified since the
precompiled header '/Users/Lycros/Library/Developer/Xcode/DerivedData/ModuleCache/NZL05J5PKZ6B/
***.pch.pch' was built
解决方式如下:
Quit Xcode and remove everything in the module cache located here:
~/Library/Developer/Xcode/DerivedData/ModuleCache (删除该文件中的缓存即可)
The cache that was built with a previous version of Xcode is invalid for this version of Xcode and SDK, and that is causing your error
fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/
Developer/SDKs/iPhoneSimulator8.0.sdk/usr/include/sysexits.h' has been modified since the
precompiled header '/Users/Lycros/Library/Developer/Xcode/DerivedData/ModuleCache/NZL05J5PKZ6B/
***.pch.pch' was built
解决方式如下:
Quit Xcode and remove everything in the module cache located here:
~/Library/Developer/Xcode/DerivedData/ModuleCache (删除该文件中的缓存即可)
The cache that was built with a previous version of Xcode is invalid for this version of Xcode and SDK, and that is causing your error
相关文章推荐
- 假设不小心改动了系统SDK文件,编译无法通过改怎么办?(iOS开发)
- iOS开发技巧--禁止系统头文件被不小心修改
- sqlplus中如果输入的sql语句前面有一行写错了,怎么返回修改?以及无法创建保存文件afiedt.buf ?
- 在修改etc/profile过程中如果PATH前不小心忘记添加$,导致vi命令无法使用怎么办?
- 黑莓ECLIPSE3.5开发环境不识别资源文件导致编译不通过解决方案附文件(系统语言问题)
- 修改ios系统文件使Xcode编译出错
- 在iOS开发中怎么对单个.mm文件设置ARC编译选项
- 在iOS开发中怎么对单个.mm文件打开ARC编译选项
- 重装系统后,mysql数据库无法安装问题(丢失.dll文件或提示你修改计算机名……),请先按以下方法尝试,如果不行,欢迎交流
- 在使用Ubuntu系统时如果不小心误删了passwd文件应该怎么办
- 解决通过NFS挂载文件系统时DHCP无法获得IP地址的问题
- 不小心修改了/etc/fstab文件,无法启动如何处理
- Android研究-Android系统编译、SDK编译、ADT编译、Android开发环境建立
- 把第三方或自己开发的apk文件编译到系统文件(system.img)中的方法:
- window中对ubuntu通过samba共享出来的文件没有写权限/无法修改
- 看了老赵的MVC课程(27):辅助普通Web应用程序开发(三)——Model Binder,编译不通过,稍加了修改
- 嵌入式开发六:busybox编译根文件系统的一些错误解决办法
- 通过修改Win7的系统权限来达到随意修改系统文件的方法(图文)
- iphone ios 文件系统操作(创建、删除,修改,获取属性)
- 在进行嵌入式开发之前,首先要建立一个交叉编译环境,这是一套编译器、连接器和libc库等组成的开发环境。文章通过一个具体的例子说明了这些嵌入式交叉编译开发工具的制作过程。 随着消费类电子产品的大量开发和应用和Linux操作系统的不断健壮和强大,嵌入式系统越来