I've been breaking my head over this, googling and trying out a whole range of possible solutions, but nothing seems to work, so as a last resort I'm turning to the community.
In short: I can't get my app to run in Xcode's iOS simulator, the Android simulator or macOS using Local Run. It only seems to work when running it in Chrome.
Whenever I try to run it, I get the same error:
Error output from CocoaPods:
↳ Searching for inspections failed: undefined method `map' for nil:NilClass
Error running pod install
Error launching application on iPhone 15 Pro Max.
Flutter Doctor tells me that everything is installed just fine, yet nothing I do seems to work.
I'm running this on a 2019 MacBook Pro (2,6 GHz 6-Core Intel Core i7), running macOS Sonoma 14.0