-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathWeChatQRCodeScanner.podspec
More file actions
71 lines (59 loc) · 1.89 KB
/
WeChatQRCodeScanner.podspec
File metadata and controls
71 lines (59 loc) · 1.89 KB
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
Pod::Spec.new do |s|
s.name = 'WeChatQRCodeScanner'
s.version = '1.1.0'
s.summary = 'WeChatQRCodeScanner.'
s.description = <<-DESC
微信开源二维码识别引擎
DESC
s.homepage = 'https://github.com/0x1306a94/WeChatQRCodeScanner'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { '0x1306a94' => '0x1306a94@gmail.com' }
s.source = { :git => 'https://github.com/0x1306a94/WeChatQRCodeScanner.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios, '11.0'
s.source_files = 'WeChatQRCodeScanner/Classes/**/*.{h,m,mm}'
s.preserve_paths = [
'WeChatQRCodeScanner/Frameworks',
'WeChatQRCodeScanner/Models',
# 'patch',
# 'script/build.sh'
'script/downloadlib.sh'
]
s.vendored_frameworks = [
'WeChatQRCodeScanner/Frameworks/*.framework'
]
# s.prepare_command =<<-CMD
# script/build.sh "4.5.1"
# CMD
s.prepare_command =<<-CMD
script/downloadlib.sh "lib-v1"
CMD
s.resource_bundles = {
'WeChatQRCodeScanner' => ['WeChatQRCodeScanner/Models/*']
}
# s.prefix_header_file = false
s.pod_target_xcconfig = {
# 'OTHER_CPLUSPLUSFLAGS' => '-fmodules -fcxx-modules'
'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
'VALID_ARCHS' => 'arm64 x86_64',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
}
# s.user_target_xcconfig = {
# 'OTHER_CPLUSPLUSFLAGS' => '-fmodules -fcxx-modules'
# }
# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = [
'AVFoundation',
'CoreImage',
'CoreGraphics',
'QuartzCore',
'Accelerate',
'CoreVideo',
'CoreMedia'
]
s.libraries = [
'c++'
]
# s.dependency 'AFNetworking', '~> 2.3'
end