Xcode 6 Swift code completion not working

后端 未结 13 1213
感情败类
感情败类 2020-11-28 08:11

Using Xcode 6 GM seed my code completion has stopped working. It was working the other day. I was trying to get the unwind segue work around to work. I had made an Objc head

13条回答
  •  清歌不尽
    2020-11-28 08:24

    This fix from apple dev forums works for me. I have had autocomplete issues with Xcode 6.1/Yosemite.

    1. Quit Xcode.
    2. Restart the computer (this is to clear any in-memory caches).
    3. Delete the contents of the DerivedData folder (~/Library/Developer/Xcode/DerivedData), precisely run, a) cd ~/Library/Developer/Xcode/DerivedData/
      b) rm -rf *

    1. (Try this if Steps 1-3 dont really work as it rebuilds the cache later on restart which takes time) Delete the contents of folder ~/Library/Caches/com.apple.dt.Xcode, i.e.,
      a) cd ~/Library/Caches/com.apple.dt.Xcode
      b) rm -rf *

    Now launch Xcode once more…

提交回复
热议问题