xcode error multiple commands produce core data

 Solution:

If you started with coredata and created models after that if run the app it shows an error like below.

"xcode error multiple commands produce core data of your coredataClass" 

Then you need to configure the coredata as like below image.




Select your entity and click the last option in the right side menu as like above and click module default it selected class definition.You have to change it to manual/none. After that delete your coredata classes you created and create it again.It will solve your problem.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift