This problem is mainly caused by DUPLICATIONS:
1> duplications of .m Files
goto TARGETS->Projiect->Build Phases->Compile Sources >
check duplicated .m files, keep one and remove others.
2> duplications of variables’ names
check all your variables defined throughout your project >
change duplicated names.
GOOD LUCK 🙂
发表回复