M Swapnil M Swapnil - 23 days ago 7
iOS Question

"In the uniqueness constraints attribute for entity, comma is not valid property" in Coredata Xcode 8

I am creating database with Core Data in ios. I set up unique constraint in my conversation table. but after removing it I am getting error namely "In the uniqueness constraints attribute for entity Conversation, comma is not valid property". I looked every field in my DataModel.xcdatamodeldenter image description here but not find any solution.

Answer

Its looks like a bug in Xcode 8. I have deleted all attributes from an entity, cleaned project and created attribute again and the error gone. May this will help someone.