Xcode 11 doesn't recognize Core data Entity

前端 未结 4 938
轻奢々
轻奢々 2020-12-31 20:33

I just declared an entity called \"Users\" array:

var UsersArray = [Users]()

I got this error:

use of unresolved id

4条回答
  •  自闭症患者
    2020-12-31 20:34

    If your entity is actually created, just close and re-open XCode. This works for me everytime. The other solutions, such as clean build, build etc, didn't work for me.

提交回复
热议问题