-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOneID.podspec
50 lines (38 loc) · 1.68 KB
/
OneID.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Be sure to run `pod spec lint OneID.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
# 名称,pod search 搜索的关键词,注意这里一定要和.podspec的名称一样,否则报错
s.name = "OneID"
# 版本号/库原代码的版本
s.version = "1.0.5.0"
# 简介
s.summary = "个推One SDK iOS CocoaPods 集成库"
# 项目主页地址
s.homepage = "https://github.com/GetuiLaboratory/getui-oneidsdk-ios-cocoapods"
# 许可证/所采用的授权版本
s.license = "MIT"
# 库的作者
s.author = { "个推" => "[email protected]" }
# 项目的地址
s.source = { :git => "https://github.com/GetuiLaboratory/getui-oneidsdk-ios-cocoapods.git", :tag => "#{s.version}" }
# 支持的平台及版本
s.platform = :ios, "8.0"
# iOS支持的pod最低版本 / iOS对应的版本
s.ios.deployment_target = "8.0"
# 使用了第三方静态库
s.ios.vendored_frameworks = 'OneID.xcframework'
s.dependency 'GTCommonSDK', '> 3.1.3.0' #因为3130后直接是3150
s.dependency 'ZXSDK', '>= 3.2.5'
# “弱引用”所需的framework,多个用逗号隔开
s.weak_frameworks = 'AppTrackingTransparency','Network'
# 所需的library,多个用逗号隔开
s.libraries = 'z','sqlite3.0','c++','resolv'
s.swift_versions = ['5']
# 是否使用ARC,如果指定具体文件,则具体的问题使用ARC
s.requires_arc = true
end