Podfile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 'MJRefresh', '3.7.5'
  12. pod 'TYCyclePagerView'
  13. pod 'Google-Mobile-Ads-SDK'
  14. pod 'Alamofire'
  15. end
  16. post_install do |installer|
  17. installer.pods_project.targets.each do |target|
  18. target.build_configurations.each do |config|
  19. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  20. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  21. end
  22. end
  23. installer.aggregate_targets.each do |target|
  24. target.xcconfigs.each do |variant, xcconfig|
  25. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  26. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  27. end
  28. end
  29. installer.pods_project.targets.each do |target|
  30. target.build_configurations.each do |config|
  31. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  32. xcconfig_path = config.base_configuration_reference.real_path
  33. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  34. end
  35. end
  36. end
  37. end