title: How to fix "is a dynamic library, not added to the static library" warning?
body: <p>I just upgraded to Xcode 5.1, and all of a sudden there is a new warning:</p>
  
  <blockquote>
    <p>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
    file:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libz.dylib
    is a dynamic library, not added to the static library</p>
  </blockquote>
  
  <p>The target which generates this warning is the cocos2d-iphone v2 static library (rather than use cocos2d templates, I create a static library). To create the static library all I did was add the cocos2d project to my workspace, have my project link to the libraries that cocos2d links to, and thats it. This all worked fine prior to this update, but now there is a warning.</p>
  
  <p>How do I fix this ? I do not want to mess with the cocos2d project, because there are some projects in which I use the cocos2d template and not the static library.</p>