2022-11-04 05:20:27 +01:00
|
|
|
source 'https://cdn.cocoapods.org/'
|
2022-12-17 20:26:20 +01:00
|
|
|
platform :ios, '15.0'
|
2021-01-22 07:27:37 +01:00
|
|
|
|
2022-06-06 12:54:01 +02:00
|
|
|
inhibit_all_warnings!
|
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!
|
|
|
|
|
2021-02-05 04:53:21 +01:00
|
|
|
# misc
|
2022-11-14 18:42:14 +01:00
|
|
|
pod 'SwiftGen', '~> 6.6.2'
|
2021-02-01 11:06:29 +01:00
|
|
|
pod 'Kanna', '~> 5.2.2'
|
2022-11-19 01:30:49 +01:00
|
|
|
pod 'Sourcery', '~> 1.9'
|
2021-05-31 10:42:49 +02: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
|