Open doxsss opened 2 years ago
I had the same problem, but, when trying to run the project (which asked me to update cocoapods), I had the following error.
GTMAppAuth
inside your development pod google_sign_in
.
It happened after flutter update to 3.0, probably because of the integrations between flutter and google firebase/sigin changes.Running pod update GTMAppAuth gives the same error.
I could solve it by right clicking the terminal, checking his info as "use rosetta", opening it, running "pod repo update" and 'arch -x86_64 pod install' after flutter clean and flutter pub get.
What worked for me was the following:
pod install
Thank you @xgenem , It works !
Report
What did you do?
e.g. Run
pod update
What did you expect to happen?
ℹpods to update
What happened instead?
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=451%3A+unexpected+token+at+%27%7B%0A++++++%22name%22%3A+%22Cronet-Implementation%22%2C%0A++++++%22header_mappings_dir%22%3A+%22.%22%2C%0A++++++%22dependencies%22%3A+%7B%0A++++++++%22gRPC-C%2B%2B%2FCronet-Interface%22%3A+%5B%0A++++++++++%221.28.0%22%0A++++++++%5D%2C%0A++++++++%22gRPC-C%2B%2B%2FImplementation%22%3A+%5B%0A++++++++++%221.28.0%22%0A++++++++%5D%2C%0A++++++++%22gRPC-Core%2FCronet-Implementation%22%3A+%5B%0A++++++++++%221.28.0%22%0A++++++++%5D%0A++++++%7D%2C%0A++++++%22source_files%22%3A+%22src%2Fcpp%2Fclient%2Fcr%27&type=Issues
If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods... Searching for inspections failed: undefined method `map' for nil:NilClass
CocoaPods Environment
Stack
Installation Source
Plugins
Podfile