I\'ve seen several posts on google and stackoverflow related to this error, I\'ve read all of them but still fetching the problem , I will be glad for a solution. Here is th
I imported files from another project, it had main.m file as well. So overall I had two main.m files, deleting one resolved the issue for me.