cocos2d-iphone-2.x

How to fix “is a dynamic library, not added to the static library” warning?

心已入冬 提交于 2019-12-07 02:46:24
问题 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

How to fix “is a dynamic library, not added to the static library” warning?

眉间皱痕 提交于 2019-12-05 04:54:30
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 create the static library all I did was add the cocos2d project to my workspace, have my project link