Podfile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #source 'https://github.com/CocoaPods/Specs.git'
  2. project 'Girly.xcodeproj'
  3. platform :ios, '14.0'
  4. inhibit_all_warnings!
  5. target 'Girly' do
  6. use_frameworks!
  7. pod 'ObjectMapper', '4.2'
  8. pod 'SnapKit'
  9. pod 'JXSegmentedView'
  10. pod 'MultiSlider'
  11. pod 'IGColorPicker'
  12. end
  13. post_install do |installer|
  14. installer.pods_project.targets.each do |target|
  15. target.build_configurations.each do |config|
  16. config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
  17. # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
  18. end
  19. end
  20. installer.aggregate_targets.each do |target|
  21. target.xcconfigs.each do |variant, xcconfig|
  22. xcconfig_path = target.client_root + target.xcconfig_relative_path(variant)
  23. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  24. end
  25. end
  26. installer.pods_project.targets.each do |target|
  27. target.build_configurations.each do |config|
  28. if config.base_configuration_reference.is_a? Xcodeproj::Project::Object::PBXFileReference
  29. xcconfig_path = config.base_configuration_reference.real_path
  30. IO.write(xcconfig_path, IO.read(xcconfig_path).gsub("DT_TOOLCHAIN_DIR", "TOOLCHAIN_DIR"))
  31. end
  32. end
  33. end
  34. end