Skip to content

Commit

Permalink
update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Apr 8, 2024
1 parent 560d76c commit 47c4455
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion curveSecp256k1.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Pod::Spec.new do |spec|
spec.source = { :git => "https://github.com/tkey/curvelib.swift.git", :tag => spec.version }

spec.source_files = 'Sources/curvelib/secp256k1/**/*.{swift}'
spec.dependency 'curvelib'
spec.dependency 'curvelib_xc'
end

7 changes: 6 additions & 1 deletion curvelib.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.module_name = "curvelib"
spec.source = { :git => "https://github.com/tkey/curvelib.swift.git", :tag => spec.version }

spec.default_subspecs = 'curveSecp256k1' , 'encryption_aes_cbc_sha512'
spec.default_subspecs = 'curveSecp256k1' , 'encryption_aes_cbc_sha512', 'sha3', 'common'

spec.subspec 'curvelib_xc' do |ss|
ss.vendored_frameworks = 'Sources/curve_secp256k1/curve_secp256k1.xcframework'
Expand All @@ -36,4 +36,9 @@ Pod::Spec.new do |spec|
ss.source_files = 'Sources/curvelib/encryption/**/*.{swift}'
end

spec.subspec 'sha3' do |ss|
ss.source_files = 'Sources/curvelib/sha3/**/*.{swift}'
ss.dependency 'curvelib/curvelib_xc'
ss.dependency 'curvelib/common'
end
end
16 changes: 16 additions & 0 deletions curvelibSha3.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Pod::Spec.new do |spec|
spec.name = "curvelibSha3"
spec.version = "0.1.2"
spec.platform = :ios, "13.0"
spec.summary = "Curve Library for Torus"
spec.homepage = "https://github.com/Web3Auth"
spec.license = { :type => 'MIT', :file => 'License.md' }
spec.swift_version = "5.7"
spec.author = { "Torus Labs" => "gaurav@tor.us" }
spec.module_name = "curvelibSha3"
spec.source = { :git => "https://github.com/tkey/curvelib.swift.git", :tag => spec.version }

spec.source_files = 'Sources/curvelib/sha3/**/*.{swift}'
spec.dependency 'curvelib_xc'
end

2 changes: 1 addition & 1 deletion encryption_aes_cbc_sha512.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pod::Spec.new do |spec|


spec.dependency 'curveSecp256k1'
spec.dependency 'curvelib'
spec.dependency 'curvelib_xc'
spec.source_files = 'Sources/curvelib/encryption/**/*.{swift}'

# spec.test_spec 'Tests' do |test_spec|
Expand Down

0 comments on commit 47c4455

Please sign in to comment.