Xcode swift indexing forever

前端 未结 25 1736
不知归路
不知归路 2020-11-30 03:15

I\'m currently developing an iOS app using swift and Xcode 6 (Beta 3).

Everything went fine so far but now as my project grows, Xcode suddenly began indexing and it

相关标签:
25条回答
  • 2020-11-30 03:45

    enter image description here

    I got this issue when my Xcode was 9.2 . First I deleted xcworkspace file ,cleaned and built according to the others' answer.But it did not work. Then I updated Xcode to 9.3 It also did not work. I checked my code and found that the recently written code made Xcode Indexing forever:

    TimeInterval(3600*24*(-randomDay))
    

    Then I amended it:

    TimeInterval(-3600*24*randomDay)
    

    It worked. I find that many situations can cause Xcode to work abnormally.So I think the correct solution is that think about what you've done for your project recently

    0 讨论(0)
提交回复
热议问题