Podfile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #source 'https://github.com/CocoaPods/Specs.git'
  2. project 'AIEmoji.xcodeproj'
  3. platform :ios, '14.0'
  4. inhibit_all_warnings!
  5. target 'AIEmoji' do
  6. use_frameworks!
  7. pod 'ObjectMapper'
  8. pod 'SnapKit'
  9. pod 'Kingfisher', '7.10.0'
  10. pod 'Alamofire'
  11. pod 'MJRefresh'
  12. pod 'IQKeyboardManagerSwift'
  13. pod 'JXSegmentedView'
  14. pod 'JXPagingView'
  15. pod 'Masonry'
  16. pod 'RealmSwift', '~>10'
  17. pod 'SwipeCellKit'
  18. pod 'TSSmalCoacopods', :path => '../TSSmalCoacopods'
  19. # pod 'SwiftyMarkdown'
  20. # pod "MarkdownKit"
  21. pod "MXParallaxHeader"
  22. pod "DynamicBlurView"
  23. pod 'BetterSegmentedControl', '~> 2.0'
  24. pod 'TYCyclePagerView'
  25. end
  26. post_install do |installer|
  27. installer.pods_project.targets.each do |target|
  28. target.build_configurations.each do |config|
  29. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  30. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  31. end
  32. end
  33. installer.aggregate_targets.each do |target|
  34. target.xcconfigs.each do |variant, xcconfig|
  35. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  36. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  37. end
  38. end
  39. installer.pods_project.targets.each do |target|
  40. target.build_configurations.each do |config|
  41. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  42. xcconfig_path = config.base_configuration_reference.real_path
  43. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  44. end
  45. end
  46. end
  47. end