Xcode 8 (Swift 3) Command failed due to signal: Killed: 9

前端 未结 5 1754
一向
一向 2021-01-02 00:52

After upgrading to Xcode 8 and converting all my code to Swift 3, I have troubles compiling swift resources. It takes a very long time, and my computer gets super laggy and

5条回答
  •  一个人的身影
    2021-01-02 01:19

    In my case, when I found that issue the chunk of code was:

             return realm2.objects(Alert.self).sorted(by: { (alert1, alert2) -> Bool in
         return  alert1.hour < alert2.hour &&
         alert1.minute < alert2.minute &&
         alert1.label < alert2.label
         })
    

提交回复
热议问题