How to fix: ‘cloud_firestore: unsupported option ‘-G’ for target ‘x86_64-apple-ios10.0-simulator’

First, I updated my Podfile: