You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Hi
I am trying to include RaptureXML through Cocoapods. My Podfile look like:
My project is a "Static Library" project. I get following error:
There is following added to "Pods.debug.xcconfig":
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
The text was updated successfully, but these errors were encountered: