Xcode swift indexing forever

前端 未结 25 1683
不知归路
不知归路 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:23

    I was creating a dictionary like this

     var dic1 = [
    
                "isDestination" : self.isDestination ?? false,
                "price" : self.price ?? ""
    
            ]
    

    and self.price is of type Int and I was giving its fallback value as an empty string which screwed up the XCode compilation.

提交回复
热议问题