Skip to content

Commit 89f08e0

Browse files
committed
Bump version to 1.2.0
1 parent b6255bb commit 89f08e0

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

LeanCloud.podspec

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
Pod::Spec.new do |s|
22
s.name = 'LeanCloud'
3-
s.version = '1.1.0-beta'
3+
s.version = '1.2.0'
44
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE' }
55
s.summary = 'LeanCloud Swift SDK'
66
s.homepage = 'https://leancloud.cn/'
77
s.authors = 'LeanCloud'
88
s.source = { :git => 'https://github.com/leancloud/swift-sdk.git', :tag => s.version }
99

10-
s.subspec 'Storage' do |storage|
11-
storage.dependency 'Alamofire', '~> 3.4'
10+
s.ios.deployment_target = '8.0'
11+
s.osx.deployment_target = '10.9'
12+
s.tvos.deployment_target = '9.0'
13+
s.watchos.deployment_target = '2.0'
1214

13-
storage.ios.deployment_target = '8.0'
14-
storage.osx.deployment_target = '10.9'
15-
storage.tvos.deployment_target = '9.0'
16-
storage.watchos.deployment_target = '2.0'
17-
18-
storage.source_files = 'Sources/Storage/**/*.swift'
15+
s.subspec 'Storage' do |ss|
16+
ss.dependency 'Alamofire', '~> 3.4'
17+
ss.source_files = 'Sources/Storage/**/*.swift'
1918
end
2019
end

Sources/Storage/LeanCloud.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
public let Version = "1.1.0-beta"
11+
public let Version = "1.2.0"
1212

1313
/**
1414
Initialize LeanCloud SDK.
@@ -32,4 +32,4 @@ public func initialize(applicationID applicationID: String, applicationKey: Stri
3232
*/
3333
public func setServiceRegion(serviceRegion: LCServiceRegion) {
3434
Configuration.sharedInstance.serviceRegion = serviceRegion
35-
}
35+
}

0 commit comments

Comments
 (0)