Xcode 6 isn't autocompleting in Swift

前端 未结 10 842
清酒与你
清酒与你 2020-11-29 15:57

I am trying to import various libraries which I can\'t remember their exact name. Unfortunately Xcode 6 (using swift) isn\'t auto completing th

10条回答
  •  广开言路
    2020-11-29 16:45

    This is the same as the correctly chosen answer above but just made slightly easier.

    I've had to do it several times and in my testing you can skip restarting your mac.

    1) Close Xcode

    2) Terminal -> rm -rf ~/Library/Developer/Xcode/DerivedData/*

    3) Terminal -> rm -rf ~/Library/Caches/com.apple.dt.Xcode

    Restart Xcode and it should be back to normal.

提交回复
热议问题