Swift 2, warning: could not load any Objective-C class information from the dyld shared cache

后端 未结 5 1486
青春惊慌失措
青春惊慌失措 2021-02-04 23:43

I have found a few questions regarding this issue, yet none of them were helping with my problem. I am trying to save an object to core data using this code (which worked perfec

5条回答
  •  温柔的废话
    2021-02-05 00:16

    Swift 3:

    Actually this problem happened often when you have any property in input declared as type NSError and the compiler expect an Error output, so change the input type to Error usually solve this issue.

提交回复
热议问题