Xcode卡在索引上 [英] Xcode stuck on Indexing

查看:99
本文介绍了Xcode卡在索引上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经工作了2个月的项目因为Xcode陷入索引而无缘无故地停止工作。我不能再建造项目了。如果我尝试构建,Xcode冻结,我必须强制退出。这只发生在这个项目中。

A project I've been working for 2 months stopped working for no reason because Xcode got stucked on "Indexing". I can't Build the project anymore. If I try to build, Xcode freezes and I have to force quit. This happens only with this project.

我尝试清理所有派生数据但没有帮助。

I tried cleaning all derived data but didn't help.

I我正在使用Xcode 4.5.2。

I'm using Xcode 4.5.2.

任何想法?

推荐答案


  1. 打开项目文件夹。

  2. 查找ProjectName.xcodeproj文件。

  3. 右键单击复制并粘贴到安全位置。

  4. 右键单击显示包内容。

  5. 查找project.xcworkspace文件并删除该文件。

  6. 重新打开你的项目并清理和重建。

  1. Open your Project Folder.
  2. Find ProjectName.xcodeproj file.
  3. Right-Click Copy and Paste to Safe Place.
  4. Right-Click Show Package Contents.
  5. Find project.xcworkspace file and delete that file.
  6. Reopen Your Project and clean and Rebuild.

如果你的问题没有解决,那么用备份文件替换文件。

If your problem is not solved then replace the file with your backup file.

这篇关于Xcode卡在索引上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆