简体   繁体   English

找不到 Xcode 代码感知符号索引不起作用。 Xcode 修复工具 命令行工具

[英]Xcode code sense symbol not found Indexing not working. Xcode repair tools command line tools

I am using Xcode 7.1 and macOS Sierra.我正在使用 Xcode 7.1 和 macOS Sierra。 My Xcode is not indexing my project, I also enable indexing through terminal.我的 Xcode 没有索引我的项目,我还通过终端启用索引。 Indexing is not working in in any of the Xcode version of my mac machine, because of this, I am not able to use Xcode code sense functionality.索引在我的 Mac 机器的任何 Xcode 版本中都不起作用,因此,我无法使用 Xcode 代码感知功能。 It gave me the error:它给了我错误:

Symbol not found未找到符号

I cleaned derived data and all, but still its not working.我清理了派生数据和所有内容,但仍然无法正常工作。

I want to enable Xcode CMD-Click code sense functionality.我想启用 Xcode CMD-Click 代码感知功能。

This seems that your Xcode doesn't Pre build your code and it also seems that your Xcode indexing is disabled.这似乎您的 Xcode 没有预先构建您的代码,而且您的 Xcode 索引似乎也被禁用。

From terminal please write an command to enable Indexing and restart you machine and XCode.请从终端编写命令以启用索引并重新启动您的机器和 XCode。

To enable Indexing Go to --> How to enable indexing in Xcode?要启用索引转到--> 如何在 Xcode 中启用索引?

Enjoy享受

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM