skip to Main Content

For some time now I have had problems when using Archive from Xcode to make the release on the Apple Store of my application developed in Flutter. Specifically, the errors I get are with the schema with Build configuration set to Debug. If I set the schema to Release, the archive is generated without errors, but it is compromised and therefore I cannot release it. The screen below shows the errors I get. Can anyone help me, please? I had this error with url_launcher_ios and SwiftyGif. Very thanks in advance for those who will help me!

error that appears when I try to do Archive with the debug scheme

2

Answers


  1. edit your pod file like below.

    post_install do |installer|
      installer.pods_project.targets.each do |target|
        flutter_additional_ios_build_settings(target)
        target.build_configurations.each do |config|
              config.build_settings['ENABLE_BITCODE'] = 'NO'
            end
      end
    end
    
    Login or Signup to reply.
  2. Open ios module with XCode and search for bitcode in build settings. Set Enabled to No.

    This worked for me instead of trying to do this inside Podfile.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search