Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MxABC committed Apr 21, 2017
1 parent d554eeb commit 2d97a42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LBXScan.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.default_subspec = 'All'

s.subspec 'All' do |all|
all.source_files = 'LBXScan/**/*.{h,m}'
all.source_files = 'LBXScan/LBXNative/*.{h,m}','LBXScan/LBXZXing/**/*.{h,m}','LBXScan/LBXZBar/*.{h,m}','LBXScan/UI/*.{h,m}'
all.libraries = 'iconv','z'
all.resource = 'LBXScan/UI/CodeScan.bundle'
all.dependency 'ZBarSDK', '~> 1.3.1'
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,37 @@
> 可独立安装某一功能,ZXing已经下载到本工程,解决之前版本下载速度慢的问题
#### install with cocoapods by git tag


***
- 安装所有库包括UI (最低系统iOS7)
- 安装所有库包括UI

```ruby
pod 'LBXScan/All',git:'https://github.com/MxABC/LBXScan.git', tag: '2.0'
pod 'LBXScan', '~> 2.0'
```

- 只安装系统原生API封装库 (最低系统iOS7)
- 只安装系统原生API封装库

```ruby
pod 'LBXScan/LBXNative',git:'https://github.com/MxABC/LBXScan.git', tag: '2.0'
pod 'LBXScan/LBXNative','~> 2.0'
```

- 只安装ZXing封装库 (最低系统iOS6)
- 只安装ZXing封装库

```ruby
pod 'LBXScan/LBXZXing',git:'https://github.com/MxABC/LBXScan.git', tag: '2.0'
pod 'LBXScan/LBXZXing','~> 2.0'
```

- 只安装ZBar封装库

```ruby
pod 'LBXScan/LBXZBar',git:'https://github.com/MxABC/LBXScan.git', tag: '2.0'
pod 'LBXScan/LBXZBar','~> 2.0'
```

- 只安装UI

```ruby
pod 'LBXScan/UI',git:'https://github.com/MxABC/LBXScan.git', tag: '2.0'
pod 'LBXScan/UI','~> 2.0'
```
- 安装任意组合

Expand Down

0 comments on commit 2d97a42

Please sign in to comment.