Sorry I know this has been covered all over the place, only I can\'t fix this to save my life.
If someone could explain clearly what I might have done and what I mig
install Command Line Tools from your Xcode. in Xcode -> Preferences -> Downloads -> Components ->Command Line Tools
It looks like you have two targets set up and your source is getting used in both. So, you create a static library with the sunnyHillsTL class that gets put into libcocoas2d libraries.a and then you are using the same object file as well. Either don't directly use the class in your target (don't add the class to the target) if you're using the library, or don't have this class be compiled as part of the static library.
Seems like you have two instance variables named «tileMap» in your «sunnyHillsTL» class...