tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
690 stars 66 forks source link

[fixup]Fixed api version issue in pod environment #89

Closed ShenYj closed 1 year ago

ShenYj commented 2 years ago
ShenYj commented 2 years ago

Somebody can fixed it by another way like this:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |configuration|
      if ( configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'].to_f < 10.12 )
        configuration.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.12'
      end
    end
  end
end