Podfile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. source 'https://cdn.cocoapods.org/'
  2. platform :ios, '14.0'
  3. target 'Mastodon' do
  4. # Comment the next line if you don't want to use dynamic frameworks
  5. use_frameworks!
  6. # Pods for Mastodon
  7. # UI
  8. pod 'XLPagerTabStrip', '~> 9.0.0'
  9. # misc
  10. pod 'SwiftGen', '~> 6.6.2'
  11. pod 'DateToolsSwift', '~> 5.0.0'
  12. pod 'Kanna', '~> 5.2.2'
  13. pod 'Sourcery', '~> 1.6.1'
  14. # DEBUG
  15. pod 'FLEX', '~> 4.4.0', :configurations => ['Debug', "Release Snapshot"]
  16. target 'MastodonTests' do
  17. inherit! :search_paths
  18. # Pods for testing
  19. end
  20. target 'MastodonUITests' do
  21. # Pods for testing
  22. end
  23. end
  24. post_install do |installer|
  25. installer.pods_project.targets.each do |target|
  26. target.build_configurations.each do |config|
  27. config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
  28. end
  29. # https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1201464693
  30. if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
  31. target.build_configurations.each do |config|
  32. config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
  33. end
  34. end
  35. end
  36. end