mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-24 16:01:52 +01:00
47 lines
1.1 KiB
Ruby
47 lines
1.1 KiB
Ruby
source 'https://cdn.cocoapods.org/'
|
|
platform :ios, '15.0'
|
|
|
|
inhibit_all_warnings!
|
|
|
|
target 'Mastodon' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
# Pods for Mastodon
|
|
|
|
# UI
|
|
pod 'XLPagerTabStrip', '~> 9.0.0'
|
|
|
|
# misc
|
|
pod 'SwiftGen', '~> 6.6.2'
|
|
pod 'Kanna', '~> 5.2.2'
|
|
pod 'Sourcery', '~> 1.9'
|
|
|
|
# DEBUG
|
|
pod 'FLEX', '~> 5.22.10', :configurations => ['Debug', "Release Snapshot"]
|
|
|
|
target 'MastodonTests' do
|
|
inherit! :search_paths
|
|
# Pods for testing
|
|
end
|
|
|
|
target 'MastodonUITests' do
|
|
# Pods for testing
|
|
end
|
|
|
|
end
|
|
|
|
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
|
|
# 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
|
|
end
|
|
end
|