-
Notifications
You must be signed in to change notification settings - Fork 1
/
WeChatQRCodeScanner_Swift.podspec
78 lines (66 loc) · 1.91 KB
/
WeChatQRCodeScanner_Swift.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# Be sure to run `pod lib lint WeChatQRCodeScanner_Swift.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = "WeChatQRCodeScanner_Swift"
s.version = "1.0.2"
s.summary = "WeChatQRCodeScanner_Swift."
s.description = <<-DESC
微信开源二维码识别引擎Swift版本
DESC
s.homepage = "https://github.com/MrBugDou/WeChatQRCodeScanner_Swift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "MrBugDou" => "[email protected]" }
s.source = { :git => "https://github.com/MrBugDou/WeChatQRCodeScanner_Swift.git", :tag => s.version.to_s }
s.requires_arc = true
s.static_framework = true
s.swift_version = "5.8"
s.ios.deployment_target = "9.0"
s.source_files = [
# "WeChatQRCodeScanner/Classes/Objc/*",
"WeChatQRCodeScanner/Classes/*.{swift,h,mm}",
]
s.preserve_paths = [
"WeChatQRCodeScanner/Frameworks",
"WeChatQRCodeScanner/Models",
# 'patch',
# 'script/build.sh',
"script/downloadlib.sh",
]
# s.prepare_command = <<-CMD
# script/build.sh "4.9.0"
# CMD
s.prepare_command = <<-CMD
script/downloadlib.sh "lib-v4.9.0"
CMD
s.vendored_frameworks = [
# "WeChatQRCodeScanner/Frameworks/*.framework",
"WeChatQRCodeScanner/Frameworks/*.xcframework",
]
s.resource_bundles = {
"WeChatQRCodeScanner" => [
"WeChatQRCodeScanner/Models/*/**",
],
}
s.pod_target_xcconfig = {
"VALID_ARCHS" => "arm64 x86_64",
"CLANG_WARN_DOCUMENTATION_COMMENTS" => "NO",
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64",
}
s.frameworks = [
"AVFoundation",
"CoreImage",
"CoreGraphics",
"QuartzCore",
"Accelerate",
"CoreVideo",
"CoreMedia",
]
s.libraries = [
"c++",
]
end