Simulator package issues

Hi!

My simulator will not build because there is essentially a package conflict. I am adding Firebase to a Flutter application. Simulator built before trying to add firebase but now I'm getting errors telling me a package can't be found even though it's installed

Output

Package Loading (Xcode): Missing package product 'FirebaseCore'
.../ios/Runner.xcodeproj

I added

target 'Runner' do
  use_frameworks!
  use_modular_headers!
  pod 'FirebaseDatabase'
  pod 'FirebaseAnalytics'
  pod 'FirebaseMessaging'
  pod 'FirebaseCore'
  pod 'FirebaseFunctions'
  pod 'FirebaseAppCheck'
  pod 'FirebaseFirestore'
  pod 'FirebaseStorage'
  pod 'FirebaseDynamicLinks'
  pod 'FirebaseAuth'

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

and ran pod install with no errors. Opening the runnner.xcworkspace shows all of the named packages under "Frameworks, Libraries, and Embedded Content'

I've tried manually adding through Xcode those packages but then get a conflict error, so I am out of ideas as to how to fix this. It appears to be something new with the latest MacOS update as I've seen another person with the same problem that started after he updated...

I've also cleaned, re-installed, re-booted a few times because

My Android emulator builds fine

Any help would be appreciated! Thanks!

Clean and Reinstall Pods:

Run the following commands in your terminal within the ios directory of your Flutter project:


cd ios
rm -rf Podfile.lock Pods
pod install --repo-update

it turned out to be a configuration error so instead of running flutterfire configure --project=app I had to run flutterfire configure -a"com.example.app"

also that answer just repeats something that I said I already did

Simulator package issues
 
 
Q