In my project, I have a sub project.Both have a dependency on reachability class.
There was duplicate symbol error coming.
So I unlinked the Reachabilty of my project from and was depending on the Reachabilty of sub project because that will get compiled first.
Now I have only one copy of Reachability but here also I get Redefinition of enums, previous declaration of properties and duplicate interface errors.
All these errors are too much for me to gulp at the same time.
I am just trying to integrate the my module in an existing big project.
How should I get rid of this situation ?
Classic iOS problem. What is the format of your sub project? Do you have access to the code? Can you make Reachability public from the sub-project?
In the absolute worse case, you can rename the the Reachability symbol names in your project. I’ve done that before … it hurts my pride but it’s sometimes necessary.