4

I am continuously getting Flutter/Flutter.h file not found issue after adding firebase_crashlytics to the project. Flutter Sdk: 2.2.2 firebase_crashlytics: ^2.0.6 I tried lots of solutions form stackoverflow already but still unable to run for ios.

1 Answer 1

2

The only solution worked for me is given down. Changing these lines in my podfile did the trick

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

to

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

And also I strictly followed firebase_crashlytics configuration for native

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.