Podfile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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/Paging'
  15. pod 'Masonry'
  16. pod 'SwiftyMarkdown'
  17. pod 'RealmSwift', '~>10'
  18. pod 'SwipeCellKit'
  19. pod 'TSSmalCoacopods', :path => '../TSSmalCoacopods'
  20. end
  21. post_install do |installer|
  22. installer.pods_project.targets.each do |target|
  23. target.build_configurations.each do |config|
  24. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  25. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  26. end
  27. end
  28. installer.aggregate_targets.each do |target|
  29. target.xcconfigs.each do |variant, xcconfig|
  30. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  31. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  32. end
  33. end
  34. installer.pods_project.targets.each do |target|
  35. target.build_configurations.each do |config|
  36. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  37. xcconfig_path = config.base_configuration_reference.real_path
  38. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  39. end
  40. end
  41. end
  42. end