session-ios/Podfile

120 lines
6.1 KiB
Plaintext
Raw Permalink Normal View History

2020-04-07 05:22:57 +02:00
platform :ios, '12.0'
source 'https://github.com/CocoaPods/Specs.git'
2014-05-06 19:41:08 +02:00
use_frameworks!
2020-11-11 21:55:24 +01:00
target 'Session' do
pod 'AFNetworking', inhibit_warnings: true
pod 'CryptoSwift', :inhibit_warnings => true
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master', :inhibit_warnings => true
pod 'NVActivityIndicatorView', :inhibit_warnings => true
pod 'PromiseKit', :inhibit_warnings => true
2021-05-24 06:05:55 +02:00
pod 'PureLayout', '~> 3.1.8', :inhibit_warnings => true
pod 'Reachability', :inhibit_warnings => true
2021-01-25 03:31:38 +01:00
pod 'Sodium', '~> 0.8.0', :inhibit_warnings => true
pod 'WebRTC', '~> 63.11', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
2020-11-11 21:55:24 +01:00
pod 'YYImage', git: 'https://github.com/signalapp/YYImage', :inhibit_warnings => true
pod 'ZXingObjC', :inhibit_warnings => true
end
2020-11-11 21:55:24 +01:00
target 'SessionShareExtension' do
2020-11-11 07:45:50 +01:00
pod 'AFNetworking', inhibit_warnings: true
pod 'CryptoSwift', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
2020-11-11 07:45:50 +01:00
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master', :inhibit_warnings => true
pod 'PromiseKit', :inhibit_warnings => true
2021-05-24 06:05:55 +02:00
pod 'PureLayout', '~> 3.1.8', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
end
target 'SessionNotificationServiceExtension' do
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
end
2020-11-11 00:58:56 +01:00
target 'SignalUtilitiesKit' do
pod 'AFNetworking', inhibit_warnings: true
pod 'CryptoSwift', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
2020-11-11 00:58:56 +01:00
pod 'GRKOpenSSLFramework', :inhibit_warnings => true
pod 'HKDFKit', :inhibit_warnings => true
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master', :inhibit_warnings => true
2021-01-29 01:06:14 +01:00
pod 'NVActivityIndicatorView', :inhibit_warnings => true
2020-11-11 00:58:56 +01:00
pod 'PromiseKit', :inhibit_warnings => true
2021-05-24 06:05:55 +02:00
pod 'PureLayout', '~> 3.1.8', :inhibit_warnings => true
2020-11-11 00:58:56 +01:00
pod 'Reachability', :inhibit_warnings => true
pod 'SAMKeychain', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2020-11-11 00:58:56 +01:00
pod 'SwiftProtobuf', '~> 1.5.0', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
pod 'YYImage', git: 'https://github.com/signalapp/YYImage', :inhibit_warnings => true
2020-11-11 00:58:56 +01:00
end
target 'SessionUIKit' do
end
2020-11-05 04:16:45 +01:00
target 'SessionMessagingKit' do
pod 'AFNetworking', inhibit_warnings: true
2020-11-06 03:56:26 +01:00
pod 'CryptoSwift', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
2020-11-25 06:15:16 +01:00
pod 'HKDFKit', :inhibit_warnings => true
2020-11-20 04:04:56 +01:00
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master', :inhibit_warnings => true
2020-11-05 04:16:45 +01:00
pod 'PromiseKit', :inhibit_warnings => true
2021-05-24 06:05:55 +02:00
pod 'PureLayout', '~> 3.1.8', :inhibit_warnings => true
2020-11-25 06:15:16 +01:00
pod 'Reachability', :inhibit_warnings => true
pod 'SAMKeychain', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2021-01-25 03:31:38 +01:00
pod 'Sodium', '~> 0.8.0', :inhibit_warnings => true
2020-11-05 04:56:15 +01:00
pod 'SwiftProtobuf', '~> 1.5.0', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
2020-11-05 04:16:45 +01:00
end
2020-11-05 02:07:21 +01:00
target 'SessionSnodeKit' do
pod 'CryptoSwift', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
2020-11-05 02:07:21 +01:00
pod 'PromiseKit', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2021-03-02 06:41:58 +01:00
pod 'Sodium', '~> 0.8.0', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
2020-11-05 02:07:21 +01:00
end
2020-11-09 00:58:47 +01:00
target 'SessionUtilitiesKit' do
2020-11-25 06:15:16 +01:00
pod 'AFNetworking', inhibit_warnings: true
pod 'CryptoSwift', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit.git', :inhibit_warnings => true
2020-11-20 04:04:56 +01:00
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master', :inhibit_warnings => true
2020-11-05 02:15:57 +01:00
pod 'PromiseKit', :inhibit_warnings => true
2021-05-24 06:05:55 +02:00
pod 'PureLayout', '~> 3.1.8', :inhibit_warnings => true
2020-11-25 06:15:16 +01:00
pod 'SAMKeychain', :inhibit_warnings => true
2020-11-12 00:41:45 +01:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', :inhibit_warnings => true
2020-11-30 02:11:06 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/loki-project/session-ios-yap-database.git', branch: 'signal-release', :inhibit_warnings => true
2020-11-05 02:15:57 +01:00
end
post_install do |installer|
2020-11-11 21:55:24 +01:00
enable_whole_module_optimization_for_crypto_swift(installer)
2020-11-05 02:07:21 +01:00
set_minimum_deployment_target(installer)
end
2020-11-11 21:55:24 +01:00
def enable_whole_module_optimization_for_crypto_swift(installer)
2020-07-24 03:42:28 +02:00
installer.pods_project.targets.each do |target|
if target.name.end_with? "CryptoSwift"
target.build_configurations.each do |config|
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = 'fast'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-O'
end
end
end
end
2020-11-05 02:07:21 +01:00
def set_minimum_deployment_target(installer)
2020-11-13 00:22:50 +01:00
installer.pods_project.targets.each do |target|
target.build_configurations.each do |build_configuration|
build_configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
2020-11-05 02:07:21 +01:00
end
2020-11-13 00:22:50 +01:00
end
2020-11-05 02:07:21 +01:00
end