The problem is that when I run a flutter app after having installed a plugin (firebase_core in this case) I get an error:
An error occurred while processing the post-install hook of the Podfile.
undefined local variable or method `continue' for #<Pod::Podfile:0x00000001099e67b8 @defined_in_file=#Pathname:/Volumes/Coding-IT/Coding/Projects/flutter_37hours/ios/Podfile, @internal_hash={}, @root_target_definitions=[#<Pod::Podfile::TargetDefinition label=Pods>], @current_target_definition=#<Pod::Podfile::TargetDefinition label=Pods>, @post_install_callback=#<Proc:0x0000000109a07e40 /Volumes/Coding-IT/Coding/Projects/flutter_37hours/ios/Podfile:37>, @installation_options=#<Pod::Installer::InstallationOptions:0x0000000109ab6eb8 @clean=true, @deduplicate_targets=true, @deterministic_uuids=true, @integrate_targets=true, @lock_pod_sources=true, @warn_for_multiple_pod_sources=true, @warn_for_unused_master_specs_repo=true, @share_schemes_for_development_pods=false, @disable_input_output_paths=false, @preserve_pod_file_structure=false, @generate_multiple_pod_projects=false, @incremental_installation=false, @skip_pods_project_generation=false>>
continue if xcframework_file.start_with?(".") # Hidden file, possibly on external disk.
The problem appears to be with the continue word, but I don't know exactly why this is happening and how to solve the problem :( I've tried reinstalling cocoapods multiple times, from homebrew and from rubygems, I tried flutter clean, I tried reinstalling ruby and changing versions. No luck. Hope someone can help me, thanks