Podfile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #source 'https://github.com/CocoaPods/Specs.git'
  2. project 'AIRingtone.xcodeproj'
  3. platform :ios, '14.0'
  4. inhibit_all_warnings!
  5. target 'AIRingtone' 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 'SwipeCellKit'
  17. pod 'TSSmalCoacopods', :path => '../TSSmalCoacopods'
  18. #pod 'TSSmalCoacopods',:git=>"http://hubgit.cn/zhouzhenshuai/TSSmalCoacopods.git", :branch => 'main'
  19. pod 'BetterSegmentedControl', '~> 2.0'
  20. # pod 'ffmpeg-kit-ios-full', '~> 6.0'
  21. pod 'ffmpeg-kit-ios-audio', '~> 6.0'
  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['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  27. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  28. end
  29. end
  30. installer.aggregate_targets.each do |target|
  31. target.xcconfigs.each do |variant, xcconfig|
  32. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  33. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  34. end
  35. end
  36. installer.pods_project.targets.each do |target|
  37. target.build_configurations.each do |config|
  38. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  39. xcconfig_path = config.base_configuration_reference.real_path
  40. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  41. end
  42. end
  43. end
  44. end