From 33d6fe498b457d9c2cf87acf32d05ade1b992da3 Mon Sep 17 00:00:00 2001 From: OhKanghoon Date: Tue, 4 Jan 2022 00:56:13 +0900 Subject: [PATCH] update apollo version --- Package.resolved | 53 ++++-------------------------------------- Package.swift | 12 +++++++--- RxApolloClient.podspec | 6 ++++- 3 files changed, 18 insertions(+), 53 deletions(-) diff --git a/Package.resolved b/Package.resolved index c874f26..e316c36 100644 --- a/Package.resolved +++ b/Package.resolved @@ -6,26 +6,8 @@ "repositoryURL": "https://github.com/apollographql/apollo-ios.git", "state": { "branch": null, - "revision": "5db23797be9211db2e5b67068a600eb2842360b3", - "version": "0.44.0" - } - }, - { - "package": "InflectorKit", - "repositoryURL": "https://github.com/apollographql/InflectorKit", - "state": { - "branch": null, - "revision": "b1d0099abe36facd198113633f502889842906af", - "version": "0.0.2" - } - }, - { - "package": "PathKit", - "repositoryURL": "https://github.com/kylef/PathKit.git", - "state": { - "branch": null, - "revision": "73f8e9dca9b7a3078cb79128217dc8f2e585a511", - "version": "1.0.0" + "revision": "d93568fb58f3eed95c2a0068d830a39a6e9d6c97", + "version": "0.50.0" } }, { @@ -37,40 +19,13 @@ "version": "6.2.0" } }, - { - "package": "Spectre", - "repositoryURL": "https://github.com/kylef/Spectre.git", - "state": { - "branch": null, - "revision": "f717bbce0e19f0129fc001b2b6bed43b70fd8b87", - "version": "0.9.1" - } - }, { "package": "SQLite.swift", "repositoryURL": "https://github.com/stephencelis/SQLite.swift.git", "state": { "branch": null, - "revision": "0a9893ec030501a3956bee572d6b4fdd3ae158a1", - "version": "0.12.2" - } - }, - { - "package": "Starscream", - "repositoryURL": "https://github.com/daltoniam/Starscream", - "state": { - "branch": null, - "revision": "df8d82047f6654d8e4b655d1b1525c64e1059d21", - "version": "4.0.4" - } - }, - { - "package": "Stencil", - "repositoryURL": "https://github.com/stencilproject/Stencil.git", - "state": { - "branch": null, - "revision": "94197b3adbbf926348ad8765476a158aa4e54f8a", - "version": "0.14.0" + "revision": "60a65015f6402b7c34b9a924f755ca0a73afeeaa", + "version": "0.13.1" } } ] diff --git a/Package.swift b/Package.swift index 04d531f..1385f31 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.3 import PackageDescription @@ -11,11 +11,17 @@ let package = Package( .library(name: "RxApolloClient", targets: ["RxApolloClient"]) ], dependencies: [ - .package(url: "https://github.com/apollographql/apollo-ios.git", .upToNextMajor(from: "0.44.0")), + .package(url: "https://github.com/apollographql/apollo-ios.git", .upToNextMajor(from: "0.50.0")), .package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0")), ], targets: [ - .target(name: "RxApolloClient", dependencies: ["Apollo", "RxSwift"]) + .target( + name: "RxApolloClient", + dependencies: [ + .product(name: "Apollo", package: "apollo-ios"), + .product(name: "RxSwift", package: "RxSwift"), + ] + ) ], swiftLanguageVersions: [.v5] ) diff --git a/RxApolloClient.podspec b/RxApolloClient.podspec index ab97b31..42521b4 100644 --- a/RxApolloClient.podspec +++ b/RxApolloClient.podspec @@ -12,10 +12,14 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/OhKanghoon/RxApolloClient.git', :tag => s.version.to_s } s.swift_version = '5.0' + s.ios.deployment_target = '12.0' + s.osx.deployment_target = '10.14' + s.tvos.deployment_target = '12.0' + s.watchos.deployment_target = '5.0' s.source_files = 'Sources/**/*.{swift,h,m}' s.dependency 'RxSwift', '~> 6.0' - s.dependency 'Apollo', '~> 0.44.0' + s.dependency 'Apollo', '~> 0.50.0' end