-
Notifications
You must be signed in to change notification settings - Fork 0
/
GizwitsiOSSDKBololo.podspec
48 lines (40 loc) · 2.11 KB
/
GizwitsiOSSDKBololo.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
#
# Be sure to run `pod spec lint GizwitsiOSSDK.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 https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |spec|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# These will help people to find your library, and whilst it
# can feel like a chore to fill in it's definitely to your advantage. The
# summary should be tweet-length, and the description more in depth.
#
spec.name = "GizwitsiOSSDKBololo"
spec.version = "1.3.0"
spec.summary = "GizwitsiOSSDKBololo"
spec.description = <<-DESC
机智云设备接入iOS SDK,用于和设备的连接和通讯
DESC
spec.homepage = "https://github.com/gizwits/ios-bololo-v5-sdk-coco"
spec.license = { :type => 'MIT', :file => 'LICENSE.txt' }
spec.author = { "Owner" => "[email protected]" }
spec.platform = :ios, "13.0"
spec.source = { :git => "https://github.com/gizwits/ios-bololo-v5-sdk-coco.git", :tag => "#{spec.version}" }
#在上传之前可以进行本地测试,稍后另起文章写
# spec.source = {:path=> '.'}
# 开放的头文件,从工程根目录下开始写起
spec.source_files = "GizwitsiOSSDKBololo/GizwitsiOSSDK.framework/Headers/*.{h,m}"
spec.swift_versions= "5.0"
# 排除文件,没有排除文件可不写
# spec.exclude_files = "Example"
spec.vendored_frameworks = 'GizwitsiOSSDKBololo/GizwitsiOSSDK.framework'
# 依赖系统静态库,省略其名称的lib前缀,以及.后缀
# spec.library = "z"
spec.dependency 'CryptoSwift', '~> 1.8.0'
# 项目配置,注意这里的SDK不支持模拟器
spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end