Yash Trivedi
Yash Trivedi

Reputation: 1

BoringSSL-GRPC Build Error: Unsupported Option '-G' for Target 'x86_64-apple-ios10.0-simulator' After Updating to Xcode 16

I'm working on a Flutter iOS project and facing multiple warnings related to IPHONEOS_DEPLOYMENT_TARGET. Some dependencies (like Firebase) are using 10.0 or 11.0, but the minimum supported version is 12.0.

I already tried modifying the post_install script in my Podfile:

ruby Copy Edit

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end

But the warnings still persist. How can I force all dependencies to use iOS 12.0+ and remove these warnings?

What I Tried: Running pod install & pod update Cleaning the build folder: flutter clean Checking ios/Podfile for deployment target settings How can I properly fix this? Any help is appreciated! 🚀

Upvotes: 0

Views: 29

Answers (0)

Related Questions