delete the ios folder, maybe copy any special config you did there first. then recreate the folder through flutter create -i swift -i