-
Notifications
You must be signed in to change notification settings - Fork 8
/
LBXZBarSDK.podspec
33 lines (31 loc) · 1.44 KB
/
LBXZBarSDK.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
Pod::Spec.new do |s|
s.name = 'LBXZBarSDK'
s.version = '1.3.5'
s.summary = 'LBXZBarSDK'
s.homepage = 'https://github.com/MxABC/LBXZBarSDK'
s.license = 'MIT'
s.authors = {'MxABC' => '[email protected]'}
s.platform = :ios, '7.0'
s.source = {:git => 'https://github.com/MxABC/LBXZBarSDK.git', :tag => s.version}
s.ios.deployment_target = "7.0"
s.prefix_header_file = 'iphone/include/prefix.pch'
#s.prefix_header_contents = '#import <Foundation/Foundation.h>','#import <UIKit/UIKit.h>'
s.source_files = "*.{h,m}", "include/zbar.h",
"zbar/**/*.h",
"iphone/*.h",
"iphone/include/**/*.h",
"zbar/{config,decoder,error,image,img_scanner,refcnt,scanner,symbol}.c",
"zbar/decoder/{codabar,code39,code93,code128,databar,ean,i25,qr_finder}.c",
"zbar/qrcode/*.c",
"iphone/*.m"
s.ios.frameworks = 'Foundation','AVFoundation','CoreGraphics','CoreMedia','CoreVideo','QuartzCore'
s.library = "iconv"
s.public_header_files = "iphone/**/**/*.h","include/*.h","LBXZBarWrapper.h"
s.requires_arc = false
s.compiler_flags = '-w'
s.xcconfig = {
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*][arch=*]": "ZBarReaderViewImpl_Simulator.m",
"EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*][arch=*]": "ZBarReaderViewImpl_Capture.m ZBarCaptureReader.m",
"GCC_PREPROCESSOR_DEFINITIONS": "NDEBUG=1"
}
end