has been modified since the precompiled header问题的几种解决方案

简介: 有时候不小心就报了这个错误,在以下步骤中,只有没解决问题的情况下,才继续往下操作:Clean工程按住option键,再次Clean(Clean Build Folder.

有时候不小心就报了这个错误,在以下步骤中,只有没解决问题的情况下,才继续往下操作:

  1. Clean工程
  2. 按住option键,再次Clean(Clean Build Folder...)
  3. 进入Window -> Organizer,在上面的Tab中选择Project,在左侧选中当前的工程,在右侧把Derived Data删除
  4. 报has been modified since the precompiled header错误的时候会显示很长的错误信息,其中有个包含DerivedData目录的路径,把路径指向的文件删掉
  5. 关闭Xcode,直接把 /Users/你的用户名/Library/Developer/Xcode/ 目录删掉,然后启动Xcode自动重建此目录。如果你配置了自定义的快捷键,建议先把 /Users/你的用户名/Library/Developer/Xcode/UserData/KeyBindings 目录下你自定义的KeyBindings文件备份,之后再复制过来

目录
相关文章
|
4月前
|
JSON 缓存 JavaScript
【HTTP】请求“报头”(Host、Content-Length/Content-Type、User-Agent(简称 UA))
【HTTP】请求“报头”(Host、Content-Length/Content-Type、User-Agent(简称 UA))
202 1
|
9月前
|
监控 安全 JavaScript
掌握X-Content-Type-Options头的防护之力
掌握X-Content-Type-Options头的防护之力
377 0
|
JSON 数据格式
axios.post请求出错:Request header field content-type is not allowed by Access-Control-Allow-Headers in……
axios.post请求出错:Request header field content-type is not allowed by Access-Control-Allow-Headers in……
|
JavaScript 前端开发
fecth配置 headers报错
fecth配置 headers报错
113 0
|
JavaScript 前端开发 应用服务中间件
【已解决】“X-Content-Type-Options”头缺失或不安全
【已解决】“X-Content-Type-Options”头缺失或不安全
1391 0
|
前端开发 JavaScript
ajax请求的重定向处理--Request header field x-requested-with is not allowed by Access-Control-Allow-Header
ajax请求的重定向处理--Request header field x-requested-with is not allowed by Access-Control-Allow-Header
590 0
|
API
百度API调用JSONP解决跨越问题 been blocked by CORS policy: No ‘Access-Control-Allow-Origin‘ header
百度API调用JSONP解决跨越问题 been blocked by CORS policy: No ‘Access-Control-Allow-Origin‘ header
283 0
|
前端开发
设置响应头Access-Control-Max-Age减少前端OPTIONS请求
设置响应头Access-Control-Max-Age减少前端OPTIONS请求
218 0
modified: (modified content, untracked content)
modified: (modified content, untracked content)
139 0
modified: (modified content, untracked content)
浅谈http缓存使用(Cache-Control、Last-Modified、ETag使用)
浅谈http缓存使用(Cache-Control、Last-Modified、ETag使用)
浅谈http缓存使用(Cache-Control、Last-Modified、ETag使用)