Podfile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #source 'https://github.com/CocoaPods/Specs.git'
  2. project 'TSLiveWallpaper.xcodeproj'
  3. platform :ios, '14.0'
  4. inhibit_all_warnings!
  5. target 'TSLiveWallpaper' do
  6. use_frameworks!
  7. pod 'ObjectMapper', '4.2'
  8. pod 'SnapKit'
  9. pod 'SVProgressHUD'
  10. pod 'Kingfisher', '7.10.0'
  11. pod 'TYCyclePagerView'
  12. pod 'Alamofire'
  13. pod 'TZImagePickerController'
  14. pod 'MarqueeLabel'
  15. pod 'MJRefresh'
  16. pod 'KLExtension',:git=>"https://gitee.com/WanlanNeel/klextension.git"
  17. pod 'KLTips',:git=>"https://gitee.com/WanlanNeel/kltips.git"
  18. pod 'Localize-Swift', '~> 3.2'
  19. pod 'BetterSegmentedControl', '~> 2.0'
  20. pod 'AFNetworking',:git => "https://github.com/xlDon/AFNetworking-PrivacyInfo.git"
  21. pod 'RealmSwift', '~>10'
  22. pod 'TSSmalCoacopods', :path => '../TSSmalCoacopods'
  23. pod "DynamicBlurView"
  24. # pod 'TYCyclePagerView'
  25. pod "KingfisherWebP"
  26. pod "HXPhotoPicker/Picker" #只有选择器
  27. pod "HXPhotoPicker/Camera/Lite"#不包含定位功能
  28. pod "HXPhotoPicker/Editor" #只有编辑器
  29. end
  30. post_install do |installer|
  31. installer.pods_project.targets.each do |target|
  32. target.build_configurations.each do |config|
  33. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  34. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  35. end
  36. end
  37. installer.aggregate_targets.each do |target|
  38. target.xcconfigs.each do |variant, xcconfig|
  39. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  40. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  41. end
  42. end
  43. installer.pods_project.targets.each do |target|
  44. target.build_configurations.each do |config|
  45. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  46. xcconfig_path = config.base_configuration_reference.real_path
  47. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  48. end
  49. end
  50. end
  51. end