Files
waf-platform/EdgeHttpDNS/sdk/ios/AlicloudHTTPDNS.podspec
2026-02-27 10:35:22 +08:00

52 lines
1.9 KiB
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Pod::Spec.new do |s|
s.name = "AlicloudHTTPDNS"
s.version = "1.0.0"
s.summary = "Aliyun Mobile Service HTTPDNS iOS SDK (source distribution)."
s.description = <<-DESC
HTTPDNS iOS SDK HTTP(S)
IPv4/IPv6 SQLite
DESC
s.homepage = "https://www.aliyun.com/product/httpdns"
s.authors = { "zhouzhuo" => "yecan.xyc@alibaba-inc.com" }
# 注意:发布到 Specs 仓库前,请将 git 地址指向正式仓库并按版本打 tag
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
# 以源码方式集成,仅收敛 SDK 源码目录
s.source_files = "AlicloudHttpDNS/**/*.{h,m}"
# 资源:隐私清单
s.resources = "resource/PrivacyInfo.xcprivacy"
# 公开头文件(由 umbrella 头导入的稳定接口)
s.public_header_files = [
"AlicloudHttpDNS/AlicloudHttpDNS.h",
"AlicloudHttpDNS/HttpdnsService.h",
"AlicloudHttpDNS/HttpdnsEdgeService.h",
"AlicloudHttpDNS/Model/HttpdnsResult.h",
"AlicloudHttpDNS/Model/HttpdnsRequest.h",
"AlicloudHttpDNS/Log/HttpdnsLog.h",
"AlicloudHttpDNS/Log/HttpdnsLoggerProtocol.h",
"AlicloudHttpDNS/HttpdnsDegradationDelegate.h",
"AlicloudHttpDNS/Config/HttpdnsPublicConstant.h",
"AlicloudHttpDNS/IpStack/HttpdnsIpStackDetector.h"
]
# 系统库与框架
s.frameworks = ["CoreTelephony", "SystemConfiguration"]
s.libraries = ["sqlite3.0", "resolv", "z"]
# 链接器参数:保留 ObjectiveC 分类
s.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
}
s.user_target_xcconfig = {
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
}
end