Skip to content

Commit

Permalink
Fix build by explicit Introspect version (see Amzd/ScrollViewProxy#22 A…
Browse files Browse the repository at this point in the history
  • Loading branch information
talaviram committed Mar 16, 2024
1 parent 037335a commit 1bf82af
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
17 changes: 17 additions & 0 deletions OpenSpoken.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -37,6 +38,7 @@
buildActionMask = 2147483647;
files = (
3697E484297545C200EE042B /* ScrollViewProxy in Frameworks */,
36F44FDD2BA6035500A6075C /* Introspect in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -101,6 +103,7 @@
name = OpenSpoken;
packageProductDependencies = (
3697E483297545C200EE042B /* ScrollViewProxy */,
36F44FDC2BA6035500A6075C /* Introspect */,
);
productName = OpenSpoken;
productReference = 3666B64029708D04009C9A30 /* OpenSpoken.app */;
Expand Down Expand Up @@ -133,6 +136,7 @@
mainGroup = 3666B63729708D04009C9A30;
packageReferences = (
3697E482297545C200EE042B /* XCRemoteSwiftPackageReference "ScrollViewProxy" */,
36F44FDB2BA6035500A6075C /* XCRemoteSwiftPackageReference "SwiftUI-Introspect" */,
);
productRefGroup = 3666B64129708D04009C9A30 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -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 */
Expand All @@ -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 */;
Expand Down
6 changes: 4 additions & 2 deletions OpenSpokenPlayground.swiftpm/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: "."
)
Expand Down

0 comments on commit 1bf82af

Please sign in to comment.