Skip to content

Commit

Permalink
chore: update Package.swift and podspec for version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 14, 2024
1 parent 291cc1d commit 25902d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ let rustXcframeworkTarget: Target = useLocalRustXcframework ?
) :
.binaryTarget(
name: "RustXcframework",
url: "https://github.com/reown-com/yttrium/releases/download/0.1.0/RustXcframework.xcframework.zip",
checksum: "28ccb544483685ef2dc27dec3ba2bf193caabbe4bdae4cf7ae65a2b5b7b95bd2"
url: "https://github.com/reown-com/yttrium/releases/download/0.1.1/RustXcframework.xcframework.zip",
checksum: "fc67a8a88e94c61dc9532697596e773dbfe453d96e3457eb7dd37b5910ceed4b"
)

let package = Package(
Expand All @@ -30,27 +30,31 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/thebarndog/swift-dotenv.git", from: "2.0.0")
],
targets: [
rustXcframeworkTarget,
.target(
name: "YttriumCore",
dependencies: [
"RustXcframework"
"RustXcframework",
.product(name: "SwiftDotenv", package: "swift-dotenv")
],
path: "crates/ffi/YttriumCore/Sources/YttriumCore"
),
.target(
name: "Yttrium",
dependencies: [
"YttriumCore"
"YttriumCore",
.product(name: "SwiftDotenv", package: "swift-dotenv")
],
path: "platforms/swift/Sources/Yttrium"
),
.testTarget(
name: "YttriumTests",
dependencies: [
"Yttrium"
"Yttrium",
.product(name: "SwiftDotenv", package: "swift-dotenv")
],
path: "platforms/swift/Tests/YttriumTests"
),
Expand Down
4 changes: 2 additions & 2 deletions YttriumWrapper.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'YttriumWrapper'
s.version = '0.0.0'
s.version = '0.1.1'
s.summary = '4337 implementation'
s.description = '4337 implementation '
s.homepage = 'https://reown.com'
Expand All @@ -18,7 +18,7 @@ Pod::Spec.new do |s|

# Include the vendored framework
s.prepare_command = <<-SCRIPT
curl -L -o RustXcframework.xcframework.zip 'https://github.com/reown-com/yttrium/releases/download/0.0.0/RustXcframework.xcframework.zip'
curl -L -o RustXcframework.xcframework.zip 'https://github.com/reown-com/yttrium/releases/download/0.1.1/RustXcframework.xcframework.zip'
unzip -o RustXcframework.xcframework.zip -d crates/ffi/YttriumCore/
rm RustXcframework.xcframework.zip
SCRIPT
Expand Down

0 comments on commit 25902d9

Please sign in to comment.