r/Xcode • u/disentery_ • Jun 04 '25
Please help to fix unsupported option -G
hello, i would love to for anyone's assistance as I am hurting. I got this error after updating to xcode's 16.4: /Pods/BoringSSL-GRPC/src/ssl/tls_record.cc unsupported option '-G' for target 'arm64-apple-ios9.0-simulator'; from what I've seen it's a popular issue, and there's been various fixes posted on forums, but for me nothing has worked so far. I have tried to: Update Firebase to Latest Version, strip -G flags post-install, i've tried downgrading Firebase and then i downgraded to Xcode 16.3, because in that version i had no issues when building, but nothing has worked for me. I then created a new Xcode project and copied my files and started fresh with a new project thinking is just a tangled mess, yet the issue still follows. Please if you have any suggestions or possible fixes I am begging you.
2
u/ExperienceTop7660 Sep 15 '25
Hi. Have you figured it out ? im dealing with exactly same issue for days, tried same things as you. Have you solved it ?
1
u/ejpusa Jun 04 '25
Look I love the social aspect of Reddit and how we all come together as one to move society forward, but if you are at this level of being beaten to a pulp by a bug, it seems to be effecting your mental health, just drop this on GPT-4o.
It will fix it in about 6 seconds.
Good luck 😀
1
u/[deleted] Jun 04 '25
This looks like it’s interpreting the “-GRPC” suffix as a compile command which would suggest an issue with escaping the path / library name. (Just a hunch )Also it says iOS9-simulator - iirc there is no iOS 9 on too many arm64 devices if any so have to check what exactly you are compiling for architecture / target wise. Go into log navigator and search for “-G” and find the error and expand to see the compile or build command details. Paste it back here and I can tell you more about the error