码迷,mamicode.com
首页 > 移动开发 > 详细

如果不小心修改了系统SDK文件,编译无法通过改怎么办?(iOS开发)

时间:2014-12-16 13:32:21      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:ios   系统工程报错   

 工程报如下错误:

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   系统工程报错   

原文地址:http://blog.csdn.net/u011344883/article/details/41958525

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!