代码拉取完成,页面将自动刷新
Pod::Spec.new do |s|
s.name = 'ZXingObjC'
s.version = '3.6.5'
s.summary = 'An Objective-C Port of the ZXing barcode framework.'
s.homepage = 'https://github.com/zxingify/zxingify-objc'
s.author = 'zxingify'
s.license = { :type => 'Apache License 2.0', :file => 'COPYING' }
s.source = { :git => 'https://github.com/zxingify/zxingify-objc.git', :tag => "#{s.version}" }
s.requires_arc = true
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC" }
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.8'
s.ios.frameworks = 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'ImageIO', 'QuartzCore'
s.osx.frameworks = 'AVFoundation', 'CoreMedia', 'QuartzCore'
s.default_subspec = 'All'
s.subspec 'All' do |ss|
ss.source_files = 'ZXingObjC/**/*.{h,m}'
end
s.subspec 'Core' do |ss|
ss.source_files = 'ZXingObjC/*.{h,m}', 'ZXingObjC/client/*.{h,m}', 'ZXingObjC/common/**/*.{h,m}', 'ZXingObjC/core/**/*.{h,m}', 'ZXingObjC/multi/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS" }
end
s.subspec 'Aztec' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/aztec/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_AZTEC" }
end
s.subspec 'DataMatrix' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/datamatrix/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_DATAMATRIX" }
end
s.subspec 'MaxiCode' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/maxicode/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_MAXICODE" }
end
s.subspec 'OneD' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/oned/**/*.{h,m}', 'ZXingObjC/client/result/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_ONED" }
end
s.subspec 'PDF417' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/pdf417/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_PDF417" }
end
s.subspec 'QRCode' do |ss|
ss.dependency 'ZXingObjC/Core'
ss.source_files = 'ZXingObjC/qrcode/**/*.{h,m}'
ss.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "ZXINGOBJC_USE_SUBSPECS ZXINGOBJC_QRCODE" }
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。