forked from darianxuhm/sendingnetwork-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSendingnetworkSDK.podspec
95 lines (74 loc) · 3.49 KB
/
SendingnetworkSDK.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Pod::Spec.new do |s|
s.name = "SendingnetworkSDK"
s.version = "0.1.4"
s.summary = "The iOS SDK to build apps compatible with Sendingnetwork (https://www.sending.network)"
s.description = <<-DESC
Sendingnetwork is a new open standard for interoperable Instant Messaging and VoIP, providing pragmatic HTTP APIs and open source reference implementations for creating and running your own real-time communication infrastructure.
Our hope is to make VoIP/IM as universal and interoperable as email.
DESC
s.homepage = "https://www.sending.network"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.author = { "sending.network" => "support@sending.network" }
s.social_media_url = "http://twitter.com/Sending_Network"
s.source = { :git => "https://github.com/Sending-Network/sendingnetwork-ios", :tag => "#{s.version}" }
s.requires_arc = true
s.swift_versions = ['5.1', '5.2']
s.ios.deployment_target = "12.0"
# s.osx.deployment_target = "10.12"
s.default_subspec = 'Core'
s.subspec 'Core' do |ss|
ss.dependency 'SendingnetworkSDK/Lite'
ss.dependency 'SendingnetworkSDK/Radix'
end
s.subspec 'Lite' do |ss|
ss.ios.deployment_target = "12.0"
# ss.osx.deployment_target = "10.12"
ss.source_files = "SendingnetworkSDK", "SendingnetworkSDK/**/*.{h,m}", "SendingnetworkSDK/**/*.{swift}"
# ss.source_files = "SendingnetworkSDK.framework/Headers/*.{h,m}"
# ss.osx.exclude_files = "SendingnetworkSDK/VoIP/MXiOSAudioOutputRoute*.swift"
ss.private_header_files = ['SendingnetworkSDK/SendingnetworkSDKSwiftHeader.h', "SendingnetworkSDK/**/*_Private.h"]
ss.resources = "SendingnetworkSDK/**/*.{xcdatamodeld}"
ss.frameworks = "CoreData"
ss.dependency 'AFNetworking', '~> 4.0.0'
ss.dependency 'GZIP', '~> 1.3.0'
ss.dependency 'SwiftyBeaver', '1.9.5'
# Requirements for e2e encryption
ss.dependency 'OLMKit', '~> 3.2.5'
ss.dependency 'Realm', '10.27.0'
ss.dependency 'libbase58', '~> 0.1.4'
ss.dependency 'RNCryptor', '~> 5.0'
ss.dependency 'TrustWalletCore', '~> 2.9.2'
# ss.dependency 'MatrixSDKCrypto', '0.1.7', :configurations => ["DEBUG"], :inhibit_warnings => true
ss.dependency 'SendingnetworkSDK/CryptoSDK'
ss.dependency 'SVGKit'
# ss.vendored_frameworks = "SendingnetworkSDK.framework"
ss.dependency 'Moya/RxSwift'
ss.dependency 'CodableWrapper'
end
s.subspec 'Radix' do |ss|
ss.name = "Radix"
ss.source_files = "Radix/*.swift"
ss.vendored_frameworks = "Radixmobile.xcframework"
ss.dependency 'RNCryptor', '~> 5.0'
ss.dependency 'TrustWalletCore', '~> 2.9.2'
end
# s.subspec 'JingleCallStack' do |ss|
# ss.ios.deployment_target = "12.0"
#
# ss.source_files = "SendingnetworkSDKExtensions/VoIP/Jingle/**/*.{h,m}"
#
# ss.dependency 'SendingnetworkSDK/Core'
#
# # The Google WebRTC stack
# # Note: it is disabled because its framework does not embed x86 build which
# # prevents us from submitting the SendingnetworkSDK pod
# #ss.ios.dependency 'GoogleWebRTC', '~>1.1.21820'
#
# # Use WebRTC framework included in Jitsi Meet SDK
# ss.ios.dependency 'JitsiMeetSDK', '5.0.2'
# end
# Experimental / NOT production-ready Rust-based crypto library, iOS-only
s.subspec 'CryptoSDK' do |ss|
ss.dependency 'MatrixSDKCrypto', '0.1.7', :configurations => ["DEBUG"], :inhibit_warnings => true
end
end