From 9cac405c134c79d7a83feaac1c2aec8a8212f03a Mon Sep 17 00:00:00 2001 From: Samaila Bala Date: Wed, 3 Jul 2024 05:12:17 +0100 Subject: [PATCH] fix: move generated api to different repository --- Package.resolved | 9 +++++++++ Package.swift | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Package.resolved b/Package.resolved index 98c1f1a..11ded11 100644 --- a/Package.resolved +++ b/Package.resolved @@ -9,6 +9,15 @@ "version" : "1.12.2" } }, + { + "identity" : "gandalf-ios-apollo-api", + "kind" : "remoteSourceControl", + "location" : "https://github.com/gandalf-network/gandalf-ios-apollo-api.git", + "state" : { + "branch" : "main", + "revision" : "b5b32e9df4443c5b583dc5a81918aada9b30003c" + } + }, { "identity" : "sqlite.swift", "kind" : "remoteSourceControl", diff --git a/Package.swift b/Package.swift index 9b125e4..802c1e6 100644 --- a/Package.swift +++ b/Package.swift @@ -16,13 +16,16 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/apollographql/apollo-ios.git", .upToNextMajor(from: "1.12.2")), - .package(path: "./GandalfConnectAPI"), + .package( + url: "https://github.com/gandalf-network/gandalf-ios-apollo-api.git", + branch: "main" + ) ], targets: [ .target( name: "GandalfConnect", dependencies: [ - .product(name: "GandalfConnectAPI", package: "GandalfConnectAPI"), + .product(name: "GandalfConnectAPI", package: "gandalf-ios-apollo-api"), .product(name: "Apollo", package: "apollo-ios"), ], path: "./Sources/GandalfConnect"