unsupported option '-G' for target 'x86_64-apple-ios10.0-simulator'

Created At: 2025-03-02 19:35:03 Updated At: 2025-03-03 10:44:18

unsupported option '-G' for target 'x86_64-apple-ios10.0-simulator'

post_install do |installer|

  installer.pods_project.targets.each do |target|

    if target.name == 'BoringSSL-GRPC'

      target.source_build_phase.files.each do |file|

        if file.settings && file.settings['COMPILER_FLAGS']

          flags = file.settings['COMPILER_FLAGS'].split

          flags.reject! { |flag| flag == '-GCC_WARN_INHIBIT_ALL_WARNINGS' }

          file.settings['COMPILER_FLAGS'] = flags.join(' ')

        end

      end

    end

    flutter_additional_ios_build_settings(target)

    target.build_configurations.each do |config|

      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'

    end

  end

end

Comment

Add Reviews