Podfile 1.0 KB

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