diff --git a/.swift-version b/.swift-version deleted file mode 100644 index bf77d54..0000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -4.2 diff --git a/Readme.md b/Readme.md index 4bedcbd..ea7e584 100644 --- a/Readme.md +++ b/Readme.md @@ -19,7 +19,7 @@ RxCoreLocation abstract the Rx behavior for Core Location ## Requirements -- iOS 9.0+ / Mac OS X 10.10+ / tvOS 9.0+ / watchOS 2.0+ +- iOS 11.0+ / Mac OS X 10.15+ / tvOS 9.0+ / watchOS 4.0+ - Xcode 9.1+ ## Installation @@ -36,7 +36,7 @@ To integrate RxCoreLocation into your Xcode project using CocoaPods, specify it ```ruby source 'https://github.com/CocoaPods/Specs.git' -platform :ios, '9.0' +platform :ios, '11.0' use_frameworks! pod 'RxCoreLocation', '~> 1.5.1' diff --git a/RxCoreLocation.podspec b/RxCoreLocation.podspec index 7bbff0f..e899990 100644 --- a/RxCoreLocation.podspec +++ b/RxCoreLocation.podspec @@ -8,10 +8,11 @@ Pod::Spec.new do |s| s.authors = { "Obi Bob Godwin" => "bobgodwinx@gmail.com" } s.source = { :git => "https://github.com/RxSwiftCommunity/RxCoreLocation.git", :tag => s.version.to_s } s.ios.deployment_target = '11.0' - s.osx.deployment_target = '10.10' - s.watchos.deployment_target = '3.0' + s.osx.deployment_target = '10.15' + s.watchos.deployment_target = '4.0' s.tvos.deployment_target = '9.0' s.requires_arc = true + s.swift_versions = ['5.0', '5.6'] s.default_subspec = "Core" s.subspec "Core" do |ss| diff --git a/Sources/RxKeyPaths.swift b/Sources/RxKeyPaths.swift index 9c8f61d..254c02f 100644 --- a/Sources/RxKeyPaths.swift +++ b/Sources/RxKeyPaths.swift @@ -14,7 +14,6 @@ extension String { static let desiredAccuracy = #keyPath(CLLocationManager.desiredAccuracy) static let pausesLocationUpdatesAutomatically = #keyPath(CLLocationManager.pausesLocationUpdatesAutomatically) static let allowsBackgroundLocationUpdates = #keyPath(CLLocationManager.allowsBackgroundLocationUpdates) - @available(iOS 11.0, *) static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator) static let location = #keyPath(CLLocationManager.location) static let headingFilter = #keyPath(CLLocationManager.headingFilter)