Tag: 生成错误

Xcode -dynamic没有指定静态库的错误

我在Xcode中有一个子项目,它创build一个由父项目引用的静态库。 所有这一切都很好,直到iOS 7.1和Xcode 5.1的发布,突然我收到以下警告。 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC 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/libsqlite3.0.dylib is a dynamic library, not added to the static library 有谁知道我需要做什么来解决这个警告?