-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-native-xml.podspec
19 lines (19 loc) · 1.04 KB
/
react-native-xml.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Pod::Spec.new do |s|
s.name = "react-native-xml"
s.version = "0.2.1"
s.summary = "react native xml module with xpath support"
s.description = "Provides you a function to parse and search inside XML using XPath and JavaScript"
s.homepage = "https://github.com/artemyarulin/react-native-xml"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Artem Yarulin" => "artem.yarulin@fessguid.com" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/artemyarulin/react-native-xml.git", :tag => s.version.to_s }
s.source_files = ["rnxml/rnxml/RNMXml.{h,m}"]
s.public_header_files = "rnxml/rnxml/RNMXml.h"
s.requires_arc = true
s.dependency "GDataXML-HTML", "1.3.0"
s.dependency "React", "> 0.10.0"
# CocoaPods wouldn't handle it for us, so let's expose build flags from GDataXml-HTML
s.library = 'xml2'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2', "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES" }
end