'filenames are used to distinguish private declarations of the same name' error

前端 未结 8 673
没有蜡笔的小新
没有蜡笔的小新 2020-12-08 00:40

I am getting this error on generating an NSManagedObject in Xcode 8.1 in Swift.

:0: error: filename \"DemoOne+CoreDataClass.swift\" used twice: \'/Us

8条回答
  •  北海茫月
    2020-12-08 00:59

    It happened to me when I copied and renamed entity. It failed to rename the class, so do it manually.

提交回复
热议问题