<> Strange Error

后端 未结 6 1698
执念已碎
执念已碎 2020-12-15 02:43

I have encountered a situation where xcode stops auto-completing and if you try to write a variable that already been defined xcode says << error type>>

6条回答
  •  感动是毒
    2020-12-15 03:44

    I have started to see same errors after Xcode 6.1 and iOS 8.1 update. I have found that if you delete ModuleCache file at /Users/username/Library/Developer/Xcode/DerivedData/ModuleCache path, it fixes the error temporarily. And you don't have to close Xcode or the project while doing that. After deleting the file, just wait for Xcode a little to index the project files again. After that, the problem mostly resolves for some time.

    As it doesn't solve the problem permanently, you should avoid writing codes causing this according to other answers till Apple solves this.

提交回复
热议问题