From 1bf82af79b1261e73fbcd61f66071fd06125fe92 Mon Sep 17 00:00:00 2001 From: Tal Aviram Date: Sat, 16 Mar 2024 18:46:03 +0200 Subject: [PATCH] Fix build by explicit Introspect version (see https://github.com/Amzd/ScrollViewProxy/pull/22 https://github.com/Amzd/ScrollViewProxy/issues/20) --- OpenSpoken.xcodeproj/project.pbxproj | 17 +++++++++++++++++ OpenSpokenPlayground.swiftpm/Package.swift | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/OpenSpoken.xcodeproj/project.pbxproj b/OpenSpoken.xcodeproj/project.pbxproj index 2b0e84a..6b5dce2 100644 --- a/OpenSpoken.xcodeproj/project.pbxproj +++ b/OpenSpoken.xcodeproj/project.pbxproj @@ -16,6 +16,7 @@ 3666B65C29719CA8009C9A30 /* ProgressView_Polyfill.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3666B65B29719CA8009C9A30 /* ProgressView_Polyfill.swift */; }; 3666B6782971A103009C9A30 /* MyApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3666B6772971A103009C9A30 /* MyApp.swift */; }; 3697E484297545C200EE042B /* ScrollViewProxy in Frameworks */ = {isa = PBXBuildFile; productRef = 3697E483297545C200EE042B /* ScrollViewProxy */; }; + 36F44FDD2BA6035500A6075C /* Introspect in Frameworks */ = {isa = PBXBuildFile; productRef = 36F44FDC2BA6035500A6075C /* Introspect */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -37,6 +38,7 @@ buildActionMask = 2147483647; files = ( 3697E484297545C200EE042B /* ScrollViewProxy in Frameworks */, + 36F44FDD2BA6035500A6075C /* Introspect in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -101,6 +103,7 @@ name = OpenSpoken; packageProductDependencies = ( 3697E483297545C200EE042B /* ScrollViewProxy */, + 36F44FDC2BA6035500A6075C /* Introspect */, ); productName = OpenSpoken; productReference = 3666B64029708D04009C9A30 /* OpenSpoken.app */; @@ -133,6 +136,7 @@ mainGroup = 3666B63729708D04009C9A30; packageReferences = ( 3697E482297545C200EE042B /* XCRemoteSwiftPackageReference "ScrollViewProxy" */, + 36F44FDB2BA6035500A6075C /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */, ); productRefGroup = 3666B64129708D04009C9A30 /* Products */; projectDirPath = ""; @@ -405,6 +409,14 @@ minimumVersion = 1.0.0; }; }; + 36F44FDB2BA6035500A6075C /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/siteline/SwiftUI-Introspect.git"; + requirement = { + kind = exactVersion; + version = 0.1.4; + }; + }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ @@ -413,6 +425,11 @@ package = 3697E482297545C200EE042B /* XCRemoteSwiftPackageReference "ScrollViewProxy" */; productName = ScrollViewProxy; }; + 36F44FDC2BA6035500A6075C /* Introspect */ = { + isa = XCSwiftPackageProductDependency; + package = 36F44FDB2BA6035500A6075C /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */; + productName = Introspect; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 3666B63829708D04009C9A30 /* Project object */; diff --git a/OpenSpokenPlayground.swiftpm/Package.swift b/OpenSpokenPlayground.swiftpm/Package.swift index 3cd6901..6c8644a 100644 --- a/OpenSpokenPlayground.swiftpm/Package.swift +++ b/OpenSpokenPlayground.swiftpm/Package.swift @@ -38,13 +38,15 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/Amzd/ScrollViewProxy", .branch("master")) + .package(url: "https://github.com/Amzd/ScrollViewProxy", .branch("master")), + .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", .exact("0.1.4")) ], targets: [ .executableTarget( name: "AppModule", dependencies: [ - .product(name: "ScrollViewProxy", package: "scrollviewproxy") + .product(name: "ScrollViewProxy", package: "scrollviewproxy"), + .product(name: "Introspect", package: "swiftui-introspect") ], path: "." )