How to fix “is a dynamic library, not added to the static library” warning?
问题 I just upgraded to Xcode 5.1, and all of a sudden there is a new warning: /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 The target which generates this warning is the cocos2d-iphone v2 static library (rather than use cocos2d templates, I create a static library). To