Podfile 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 'Google-Mobile-Ads-SDK'
  13. pod 'Alamofire'
  14. pod 'TZImagePickerController'
  15. pod 'MarqueeLabel'
  16. pod 'MJRefresh'
  17. pod 'TSVideoKit', :git => 'https://gitee.com/WanlanNeel/tsvideo-kit.git', :branch => 'feature/mini'
  18. pod "IJKMediaPlayerKit", :podspec => 'https://github.com/debugly/ijkplayer/releases/download/k0.11.8/IJKMediaPlayerKit.spec.json'
  19. pod 'KLExtension',:git=>"https://gitee.com/WanlanNeel/klextension.git"
  20. pod 'KLTips',:git=>"https://gitee.com/WanlanNeel/kltips.git"
  21. pod 'Localize-Swift', '~> 3.2'
  22. pod 'BetterSegmentedControl', '~> 2.0'
  23. pod 'Google-Mobile-Ads-SDK'
  24. end
  25. post_install do |installer|
  26. installer.pods_project.targets.each do |target|
  27. target.build_configurations.each do |config|
  28. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  29. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  30. end
  31. end
  32. installer.aggregate_targets.each do |target|
  33. target.xcconfigs.each do |variant, xcconfig|
  34. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  35. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  36. end
  37. end
  38. installer.pods_project.targets.each do |target|
  39. target.build_configurations.each do |config|
  40. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  41. xcconfig_path = config.base_configuration_reference.real_path
  42. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  43. end
  44. end
  45. end
  46. end