Skip to content

Commit

Permalink
chore: update Package.swift and podspec for version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 17, 2024
1 parent 7a49a95 commit f5f6d03
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.2.0/RustXcframework.xcframework.zip",
checksum: "7b3381f2938acbc099867b88108f9cabcfb9f8c0b535e0b9262d4e92c6eb893c"
)

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.2.0'
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.2.0/RustXcframework.xcframework.zip'
unzip -o RustXcframework.xcframework.zip -d crates/ffi/YttriumCore/
rm RustXcframework.xcframework.zip
SCRIPT
Expand Down

0 comments on commit f5f6d03

Please sign in to comment.