Can't run IOS application in Flutter

Viewed 50

Here is the image of error code i already try with pod update and repo pod update and clean derived data

enter image description here

2 Answers

Just add this lines to your Podfile

post_install do |installer_representation|
  installer_representation.project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ARCHS'] = 'armv7 armv7s'
    end
  end
end

Flutter

  • ios
    • Podfile

First Delete ios Folder in your project


flutter create .

in terminal

then change ios version in your podfile to 10

then try to run it again and please backup ios folder if you have created or added files in ios

Related