Instead of commenting out flipper here is a solution that worked for me.
Update flipper in your Podfile to look like this
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
Run pod repo update inside the ios folder
And finally, update your project pods using
pod install