2022-11-04 05:20:27 +01:00
|
|
|
source 'https://cdn.cocoapods.org/'
|
2021-01-27 07:58:13 +01:00
|
|
|
platform :ios, '14.0'
|
2021-01-22 07:27:37 +01:00
|
|
|
|
|
|
|
target 'Mastodon' do
|
|
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
|
|
use_frameworks!
|
|
|
|
|
|
|
|
# Pods for Mastodon
|
|
|
|
|
2021-02-05 04:53:21 +01:00
|
|
|
# UI
|
2022-05-13 11:23:35 +02:00
|
|
|
pod 'XLPagerTabStrip', '~> 9.0.0'
|
2021-06-19 12:33:29 +02:00
|
|
|
|
2021-02-05 04:53:21 +01:00
|
|
|
# misc
|
2021-01-27 07:58:13 +01:00
|
|
|
pod 'SwiftGen', '~> 6.4.0'
|
2021-01-22 07:27:37 +01:00
|
|
|
pod 'DateToolsSwift', '~> 5.0.0'
|
2021-02-01 11:06:29 +01:00
|
|
|
pod 'Kanna', '~> 5.2.2'
|
2022-01-27 14:23:39 +01:00
|
|
|
pod 'Sourcery', '~> 1.6.1'
|
2021-05-31 10:42:49 +02:00
|
|
|
|
|
|
|
# DEBUG
|
2022-03-18 17:30:00 +01:00
|
|
|
pod 'FLEX', '~> 4.4.0', :configurations => ['Debug', "Release Snapshot"]
|
2021-02-05 04:53:21 +01:00
|
|
|
|
2021-01-22 07:27:37 +01:00
|
|
|
target 'MastodonTests' do
|
|
|
|
inherit! :search_paths
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
|
|
|
target 'MastodonUITests' do
|
|
|
|
# Pods for testing
|
|
|
|
end
|
|
|
|
|
2021-05-31 10:42:49 +02:00
|
|
|
end
|
2021-04-27 10:26:59 +02:00
|
|
|
|
2021-08-02 13:42:55 +02:00
|
|
|
post_install do |installer|
|
|
|
|
installer.pods_project.targets.each do |target|
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
|
|
|
|
end
|
2022-11-04 05:20:27 +01:00
|
|
|
# https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
|
|
|
|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
|
|
|
|
target.build_configurations.each do |config|
|
|
|
|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
|
|
|
|
end
|
|
|
|
end
|
2021-08-02 13:42:55 +02:00
|
|
|
end
|
2021-12-28 09:15:44 +01:00
|
|
|
end
|