session-ios/Podfile

119 lines
4.1 KiB
Plaintext
Raw Normal View History

platform :ios, '10.0'
source 'https://github.com/CocoaPods/Specs.git'
2014-05-06 19:41:08 +02:00
use_frameworks!
inhibit_all_warnings!
def shared_pods
2018-12-19 23:31:19 +01:00
###
# OWS Pods
2018-12-19 23:31:19 +01:00
###
2018-09-28 16:03:06 +02:00
pod 'SignalCoreKit', git: 'https://github.com/signalapp/SignalCoreKit.git', testspecs: ["Tests"]
2018-09-21 21:41:10 +02:00
# pod 'SignalCoreKit', path: '../SignalCoreKit', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2018-11-12 16:40:28 +01:00
pod 'AxolotlKit', git: 'https://github.com/signalapp/SignalProtocolKit.git', branch: 'master', testspecs: ["Tests"]
2018-09-25 19:56:31 +02:00
# pod 'AxolotlKit', path: '../SignalProtocolKit', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2018-09-28 16:03:06 +02:00
pod 'HKDFKit', git: 'https://github.com/signalapp/HKDFKit.git', testspecs: ["Tests"]
2018-09-25 19:58:20 +02:00
# pod 'HKDFKit', path: '../HKDFKit', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2018-09-28 16:03:06 +02:00
pod 'Curve25519Kit', git: 'https://github.com/signalapp/Curve25519Kit', testspecs: ["Tests"]
2018-09-25 19:58:20 +02:00
# pod 'Curve25519Kit', path: '../Curve25519Kit', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2020-04-06 08:49:45 +02:00
# Don't update SignalMetadataKit. There's some Loki specific stuff in there that gets overwritten otherwise.
# pod 'SignalMetadataKit', git: 'https://github.com/signalapp/SignalMetadataKit', testspecs: ["Tests"]
2018-09-25 19:58:20 +02:00
# pod 'SignalMetadataKit', path: '../SignalMetadataKit', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2018-09-20 18:53:03 +02:00
pod 'SignalServiceKit', path: '.', testspecs: ["Tests"]
2018-12-19 23:31:19 +01:00
2019-01-23 18:26:54 +01:00
# Project does not compile with PromiseKit 6.7.1
# see: https://github.com/mxcl/PromiseKit/issues/990
pod 'PromiseKit', "6.5.3"
2018-12-19 23:31:19 +01:00
###
# forked third party pods
###
# Includes some soon to be released "unencrypted header" changes required for the Share Extension
2019-01-10 17:57:54 +01:00
pod 'SQLCipher', ">= 4.0.1"
2018-12-19 23:31:19 +01:00
# Forked for performance optimizations that are not likely to be upstreamed as they are specific
2019-06-17 05:52:17 +02:00
# to our limited use of Mantle
2018-12-19 23:31:19 +01:00
pod 'Mantle', git: 'https://github.com/signalapp/Mantle', branch: 'signal-master'
# pod 'Mantle', path: '../Mantle'
# Forked for compatibily with the ShareExtension, changes have an open PR, but have not been merged.
2019-01-10 21:04:03 +01:00
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/signalapp/YapDatabase.git', branch: 'signal-release'
2018-12-19 23:31:19 +01:00
# pod 'YapDatabase/SQLCipher', path: '../YapDatabase'
# Forked to incorporate our self-built binary artifact.
pod 'GRKOpenSSLFramework', git: 'https://github.com/signalapp/GRKOpenSSLFramework'
#pod 'GRKOpenSSLFramework', path: '../GRKOpenSSLFramework'
2019-05-01 05:00:50 +02:00
pod 'Starscream', git: 'https://github.com/signalapp/Starscream.git', branch: 'signal-release'
2019-01-15 01:04:31 +01:00
# pod 'Starscream', path: '../Starscream'
2018-12-19 23:31:19 +01:00
###
# third party pods
2018-12-19 23:31:19 +01:00
####
pod 'AFNetworking', inhibit_warnings: true
pod 'PureLayout', :inhibit_warnings => true
pod 'Reachability', :inhibit_warnings => true
2018-04-03 22:26:07 +02:00
pod 'YYImage', :inhibit_warnings => true
end
target 'Signal' do
2019-05-03 03:21:47 +02:00
project 'Signal'
shared_pods
2018-01-04 21:16:24 +01:00
pod 'SSZipArchive', :inhibit_warnings => true
2019-06-17 05:52:17 +02:00
2019-05-21 07:56:30 +02:00
# Loki
2019-09-04 06:41:38 +02:00
pod 'GCDWebServer', '~> 3.0', :inhibit_warnings => true
pod 'FeedKit', '~> 8.1', :inhibit_warnings => true
pod 'CryptoSwift', '~> 1.0', :inhibit_warnings => true
2020-03-06 01:54:20 +01:00
pod 'FirebaseCore', '~> 6.0', :inhibit_warnings => true # Used for internal testing
pod 'Fabric', '~> 1.10', :inhibit_warnings => true # Used for internal testing
pod 'Crashlytics', '~> 3.13', :inhibit_warnings => true # Used for internal testing
2019-09-20 07:53:24 +02:00
pod 'NVActivityIndicatorView', '~> 4.7', :inhibit_warnings => true
target 'SignalTests' do
inherit! :search_paths
end
end
target 'SignalShareExtension' do
2019-05-03 03:21:47 +02:00
project 'Signal'
shared_pods
end
target 'LokiPushNotificationService' do
project 'Signal'
pod 'CryptoSwift', '~> 1.0', :inhibit_warnings => true
shared_pods
end
target 'SignalMessaging' do
2019-05-03 03:21:47 +02:00
project 'Signal'
shared_pods
end
post_install do |installer|
enable_extension_support_for_purelayout(installer)
end
# PureLayout by default makes use of UIApplication, and must be configured to be built for an extension.
def enable_extension_support_for_purelayout(installer)
installer.pods_project.targets.each do |target|
if target.name.end_with? "PureLayout"
target.build_configurations.each do |build_configuration|
if build_configuration.build_settings['APPLICATION_EXTENSION_API_ONLY'] == 'YES'
build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = ['$(inherited)', 'PURELAYOUT_APP_EXTENSIONS=1']
end
end
end
end
end