The error occurs because CocoaPods cannot find the Sentry/HybridSDK dependency (version 8.44.0) in its local repo. Here’s how you can fix it:
sudo gem install cocoapods
pod repo update
cd ios
rm -rf Pods
Podfile.lock
pod install --repo-update
cd ..
flutter clean
flutter pub get
After running these steps, pod install should work correctly.🚀