Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue integrating RaptureXML through Cocoapods #65

Open
gagarwal opened this issue Dec 18, 2014 · 0 comments
Open

Issue integrating RaptureXML through Cocoapods #65

gagarwal opened this issue Dec 18, 2014 · 0 comments

Comments

@gagarwal
Copy link

Hi

I am trying to include RaptureXML through Cocoapods. My Podfile look like:

pod 'RaptureXML', '~> 1.0.1'

My project is a "Static Library" project. I get following error:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lxml2
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lxml2 is not an object file (not allowed in a library)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -lz
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -lz is not an object file (not allowed in a library)

There is following added to "Pods.debug.xcconfig":

OTHER_LDFLAGS = -l"xml2" -l"z"

If I remove above two libraries from "OTHER_LDFLAGS", it compiles fine. But these two are specified in "RaptureXML" Podspec.

Any help is appreciated.

Thanks
Gaurav Agarwal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant