When I try to use an entity created in a CoreData, it gives me: 'PlayerData' is ambiguous for type lookup in this context
The message indicates that Core Data finds more than one entities named PlayerData
. Do you have multipel persistent containers that use the same Core Data model? Or do you load multiple model files that have the PlayerData
entity into a same Core Data stack?
If the above information doesn't help, I'd suggest that you provide a minimal project that contains only the code relevant to the issue, with detailed steps to reproduce the issue. Folks here may be able to help more effectively.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.