46 lines
1.5 KiB
Ruby
46 lines
1.5 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "NewHTTPDNS"
|
|
s.version = "1.0.0"
|
|
s.summary = "New Mobile Service HTTPDNS iOS SDK (source distribution)."
|
|
s.description = <<-DESC
|
|
HTTPDNS iOS SDK source distribution with DNS resolution over HTTP(S),
|
|
IPv4/IPv6 support, authentication, optional encryption, memory and
|
|
SQLite persistent caching, regional scheduling and local DNS fallback.
|
|
DESC
|
|
|
|
s.homepage = "https://www.aliyun.com/product/httpdns"
|
|
s.authors = { "zhouzhuo" => "yecan.xyc@alibaba-inc.com" }
|
|
|
|
s.source = { :git => "https://github.com/aliyun/alibabacloud-httpdns-ios-sdk", :tag => s.version.to_s }
|
|
|
|
s.platform = :ios, "12.0"
|
|
s.requires_arc = true
|
|
|
|
s.source_files = "NewHttpDNS/**/*.{h,m}"
|
|
|
|
s.resources = "resource/PrivacyInfo.xcprivacy"
|
|
|
|
s.public_header_files = [
|
|
"NewHttpDNS/NewHttpDNS.h",
|
|
"NewHttpDNS/HttpdnsService.h",
|
|
"NewHttpDNS/HttpdnsEdgeService.h",
|
|
"NewHttpDNS/Model/HttpdnsResult.h",
|
|
"NewHttpDNS/Model/HttpdnsRequest.h",
|
|
"NewHttpDNS/Log/HttpdnsLog.h",
|
|
"NewHttpDNS/Log/HttpdnsLoggerProtocol.h",
|
|
"NewHttpDNS/HttpdnsDegradationDelegate.h",
|
|
"NewHttpDNS/Config/HttpdnsPublicConstant.h",
|
|
"NewHttpDNS/IpStack/HttpdnsIpStackDetector.h"
|
|
]
|
|
|
|
s.frameworks = ["CoreTelephony", "SystemConfiguration"]
|
|
s.libraries = ["sqlite3.0", "resolv", "z"]
|
|
|
|
s.pod_target_xcconfig = {
|
|
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
|
|
}
|
|
s.user_target_xcconfig = {
|
|
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
|
|
}
|
|
end
|