From d25a73cf9f64f6125d94728f25a9e6473072690c Mon Sep 17 00:00:00 2001 From: Terry Yiu Date: Mon, 20 Jan 2025 13:31:42 -0500 Subject: [PATCH] Add Nostr SDK as a package dependency --- Yeti.xcodeproj/project.pbxproj | 20 ++++++++++ .../xcshareddata/swiftpm/Package.resolved | 38 ++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/Yeti.xcodeproj/project.pbxproj b/Yeti.xcodeproj/project.pbxproj index be9ccdf..938f4e6 100644 --- a/Yeti.xcodeproj/project.pbxproj +++ b/Yeti.xcodeproj/project.pbxproj @@ -6,6 +6,10 @@ objectVersion = 77; objects = { +/* Begin PBXBuildFile section */ + 3AA481172D3ECDFD0052A05C /* NostrSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 3AA481162D3ECDFD0052A05C /* NostrSDK */; }; +/* End PBXBuildFile section */ + /* Begin PBXContainerItemProxy section */ 3AA480CB2D3DECF20052A05C /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -65,6 +69,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 3AA481172D3ECDFD0052A05C /* NostrSDK in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -126,6 +131,7 @@ ); name = Yeti; packageProductDependencies = ( + 3AA481162D3ECDFD0052A05C /* NostrSDK */, ); productName = Yeti; productReference = 3AA480B82D3DECF10052A05C /* Yeti.app */; @@ -213,6 +219,7 @@ minimizedProjectReferenceProxies = 1; packageReferences = ( 3AA480F82D3DF0820052A05C /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */, + 3AA481152D3ECDFD0052A05C /* XCRemoteSwiftPackageReference "nostr-sdk-ios" */, ); preferredProjectObjectVersion = 77; productRefGroup = 3AA480B92D3DECF10052A05C /* Products */; @@ -599,6 +606,14 @@ minimumVersion = 0.58.2; }; }; + 3AA481152D3ECDFD0052A05C /* XCRemoteSwiftPackageReference "nostr-sdk-ios" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/nostr-sdk/nostr-sdk-ios.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 0.2.0; + }; + }; /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ @@ -617,6 +632,11 @@ package = 3AA480F82D3DF0820052A05C /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */; productName = "plugin:SwiftLintBuildToolPlugin"; }; + 3AA481162D3ECDFD0052A05C /* NostrSDK */ = { + isa = XCSwiftPackageProductDependency; + package = 3AA481152D3ECDFD0052A05C /* XCRemoteSwiftPackageReference "nostr-sdk-ios" */; + productName = NostrSDK; + }; /* End XCSwiftPackageProductDependency section */ }; rootObject = 3AA480B02D3DECF10052A05C /* Project object */; diff --git a/Yeti.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Yeti.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 3941111..4194c75 100644 --- a/Yeti.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Yeti.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,6 +1,42 @@ { - "originHash" : "1fa961aa1dc717cea452f3389668f0f99a254f07e4eb11d190768a53798f744f", + "originHash" : "3644761c74dde919e3d653851f0b4b324f1944119366edefde8060c6a01dbfd7", "pins" : [ + { + "identity" : "cryptoswift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/krzyzanowskim/CryptoSwift.git", + "state" : { + "revision" : "729e01bc9b9dab466ac85f21fb9ee2bc1c61b258", + "version" : "1.8.4" + } + }, + { + "identity" : "nostr-sdk-ios", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nostr-sdk/nostr-sdk-ios.git", + "state" : { + "revision" : "abff49135d804f6688ce6256647e13ccf6abe5d2", + "version" : "0.2.0" + } + }, + { + "identity" : "secp256k1.swift", + "kind" : "remoteSourceControl", + "location" : "https://github.com/GigaBitcoin/secp256k1.swift", + "state" : { + "revision" : "57ce9af6db14e0114af631ace25231a9d0ccccbd", + "version" : "0.18.0" + } + }, + { + "identity" : "swift-collections", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-collections.git", + "state" : { + "revision" : "671108c96644956dddcd89dd59c203dcdb36cec7", + "version" : "1.1.4" + } + }, { "identity" : "swiftlintplugins", "kind" : "remoteSourceControl",