Skip to content

Commit

Permalink
Merge pull request Moya#1769 from Moya/fix/watchos-deployment
Browse files Browse the repository at this point in the history
Fix pod install error for RxMoya and ReactiveMoya subspecs due to watchOS version
  • Loading branch information
SD10 authored Nov 19, 2018
2 parents 130a183 + a3aacad commit f863c50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
5 changes: 2 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
# [12.0.0] - 2018-11-18

### Changed
- **Breaking Change** watchOS deployment target for RxMoya is now 3.0. [#1758](https://github.com/Moya/Moya/pull/1758) by [@simonrice](https://github.com/simonrice).
- Fix warnings generated by Xcode 10. Updated project to Swift 4.2
[#1740](https://github.com/Moya/Moya/pull/1740) by [@lexorus](https://github.com/lexorus)
- **Breaking Change** Minimum watchOS deployment target for Moya is now 3.0. [#1758](https://github.com/Moya/Moya/pull/1769) by [@SD10](https://github.com/SD10).
- Fix warnings generated by Xcode 10. Updated project to Swift 4.2 [#1740](https://github.com/Moya/Moya/pull/1740) by [@lexorus](https://github.com/lexorus)

# [12.0.0-beta.1] - 2018-08-07

Expand Down
4 changes: 1 addition & 3 deletions Moya.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '3.0'
s.source = { :git => "https://github.com/Moya/Moya.git", :tag => s.version }
s.default_subspec = "Core"
s.swift_version = '4.2'
Expand All @@ -26,20 +27,17 @@ Pod::Spec.new do |s|
ss.dependency "Alamofire", "~> 4.1"
ss.dependency "Result", "~> 4.0"
ss.framework = "Foundation"
ss.watchos.deployment_target = '2.0'
end

s.subspec "ReactiveSwift" do |ss|
ss.source_files = "Sources/ReactiveMoya/"
ss.dependency "Moya/Core"
ss.dependency "ReactiveSwift", "~> 4.0"
ss.watchos.deployment_target = '2.0'
end

s.subspec "RxSwift" do |ss|
ss.source_files = "Sources/RxMoya/"
ss.dependency "Moya/Core"
ss.dependency "RxSwift", "~> 4.0"
ss.watchos.deployment_target = '3.0'
end
end
12 changes: 6 additions & 6 deletions Moya.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Release;
};
Expand Down Expand Up @@ -1081,7 +1081,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.2;
TVOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1395,7 +1395,7 @@
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1504,7 +1504,7 @@
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -1544,7 +1544,7 @@
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.2;
TVOS_DEPLOYMENT_TARGET = 9.0;
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Release;
};
Expand Down Expand Up @@ -1594,7 +1594,7 @@
TVOS_DEPLOYMENT_TARGET = 9.0;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
WATCHOS_DEPLOYMENT_TARGET = 2.0;
WATCHOS_DEPLOYMENT_TARGET = 3.0;
};
name = Release;
};
Expand Down

0 comments on commit f863c50

Please sign in to comment.