Skip to content

Commit

Permalink
Merge pull request #11 from reown-com/monorepo
Browse files Browse the repository at this point in the history
update podspec
  • Loading branch information
llbartekll authored Sep 16, 2024
2 parents 3e3ae5e + 640dfeb commit 42e3fba
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ final class RelayClientEndToEndTests: XCTestCase {
}

override func tearDown() {
Thread.sleep(forTimeInterval: 0.3)
Thread.sleep(forTimeInterval: 1.0)
super.tearDown()
}

Expand Down
65 changes: 27 additions & 38 deletions reown-swift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Pod::Spec.new do |spec|
:git => 'https://github.com/reown-com/reown-swift.git',
:tag => spec.version.to_s
}

spec.platform = :ios, '13.0'
spec.swift_versions = '5.3'
spec.pod_target_xcconfig = {
Expand All @@ -26,68 +26,57 @@ Pod::Spec.new do |spec|

spec.subspec 'WalletKit' do |ss|
ss.source_files = 'Sources/WalletKit/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectSign'
ss.dependency 'WalletConnectSwiftV2/WalletConnectPush'
ss.dependency 'WalletConnectSwiftV2/WalletConnectVerify'
ss.dependency 'reown-swift/WalletConnectSign'
ss.dependency 'reown-swift/WalletConnectPush'
ss.dependency 'reown-swift/WalletConnectVerify'
end

spec.subspec 'WalletConnectSign' do |ss|
ss.source_files = 'Sources/WalletConnectSign/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectPairing'
ss.dependency 'WalletConnectSwiftV2/WalletConnectSigner'
ss.dependency 'WalletConnectSwiftV2/WalletConnectVerify'
ss.dependency 'WalletConnectSwiftV2/Events'
ss.dependency 'reown-swift/WalletConnectPairing'
ss.dependency 'reown-swift/WalletConnectSigner'
ss.dependency 'reown-swift/WalletConnectVerify'
ss.dependency 'reown-swift/Events'
end

spec.subspec 'WalletConnectVerify' do |ss|
ss.source_files = 'Sources/WalletConnectVerify/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectUtils'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
end

spec.subspec 'WalletConnectChat' do |ss|
ss.source_files = 'Sources/Chat/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectSync'
ss.dependency 'WalletConnectSwiftV2/WalletConnectIdentity'
end

spec.subspec 'WalletConnectSync' do |ss|
ss.source_files = 'Sources/WalletConnectSync/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectSigner'
ss.dependency 'reown-swift/WalletConnectUtils'
ss.dependency 'reown-swift/WalletConnectNetworking'
end

spec.subspec 'WalletConnectSigner' do |ss|
ss.source_files = 'Sources/WalletConnectSigner/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
ss.dependency 'reown-swift/WalletConnectNetworking'
end

spec.subspec 'WalletConnectIdentity' do |ss|
ss.source_files = 'Sources/WalletConnectIdentity/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
ss.dependency 'WalletConnectSwiftV2/WalletConnectJWT'
ss.dependency 'reown-swift/WalletConnectNetworking'
ss.dependency 'reown-swift/WalletConnectJWT'
end

spec.subspec 'WalletConnectPush' do |ss|
ss.source_files = 'Sources/WalletConnectPush/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
ss.dependency 'WalletConnectSwiftV2/WalletConnectJWT'
ss.dependency 'reown-swift/WalletConnectNetworking'
ss.dependency 'reown-swift/WalletConnectJWT'
end

spec.subspec 'WalletConnectJWT' do |ss|
ss.source_files = 'Sources/WalletConnectJWT/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectKMS'
ss.dependency 'reown-swift/WalletConnectKMS'
end

spec.subspec 'WalletConnectNetworking' do |ss|
ss.source_files = 'Sources/WalletConnectNetworking/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectRelay'
ss.dependency 'WalletConnectSwiftV2/HTTPClient'
ss.dependency 'reown-swift/WalletConnectRelay'
ss.dependency 'reown-swift/HTTPClient'
end

spec.subspec 'WalletConnectPairing' do |ss|
ss.source_files = 'Sources/WalletConnectPairing/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
ss.dependency 'WalletConnectSwiftV2/Events'
ss.dependency 'reown-swift/WalletConnectNetworking'
ss.dependency 'reown-swift/Events'
end

spec.subspec 'ReownRouter' do |ss|
Expand All @@ -97,7 +86,7 @@ Pod::Spec.new do |spec|

spec.subspec 'WalletConnectRelay' do |ss|
ss.source_files = 'Sources/WalletConnectRelay/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectJWT'
ss.dependency 'reown-swift/WalletConnectJWT'
ss.resource_bundles = {
'WalletConnect_WalletConnectRelay' => [
'Sources/WalletConnectRelay/PackageConfig.json'
Expand All @@ -107,12 +96,12 @@ Pod::Spec.new do |spec|

spec.subspec 'WalletConnectUtils' do |ss|
ss.source_files = 'Sources/WalletConnectUtils/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/JSONRPC'
ss.dependency 'reown-swift/JSONRPC'
end

spec.subspec 'WalletConnectKMS' do |ss|
ss.source_files = 'Sources/WalletConnectKMS/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectUtils'
ss.dependency 'reown-swift/WalletConnectUtils'
end

spec.subspec 'Commons' do |ss|
Expand All @@ -121,15 +110,15 @@ Pod::Spec.new do |spec|

spec.subspec 'Events' do |ss|
ss.source_files = 'Sources/Events/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/WalletConnectNetworking'
ss.dependency 'WalletConnectSwiftV2/WalletConnectUtils'
ss.dependency 'reown-swift/WalletConnectNetworking'
ss.dependency 'reown-swift/WalletConnectUtils'
end

spec.subspec 'JSONRPC' do |ss|
ss.source_files = 'Sources/JSONRPC/**/*.{h,m,swift}'
ss.dependency 'WalletConnectSwiftV2/Commons'
ss.dependency 'reown-swift/Commons'
end

spec.subspec 'HTTPClient' do |ss|
ss.source_files = 'Sources/HTTPClient/**/*.{h,m,swift}'
end
Expand Down

0 comments on commit 42e3fba

Please sign in to comment.