I was trying to Archive my Mac app on Xcode, then below error in my Xcode:

I can compile my app without a problem, just can't archive, I am thinking the issue might be I need to update my pod, when I run command in my terminal
pod outdated
it shows below info:

so this is just my guessing.
After tried Paul's suggestions, I got a different error:

I encountered the same issue on my Flutter project on an M1 Mac, and I resolved the problem as follows.
1- Replace the gRPC dependencies with BoringSSL within the 'Runner' block in the Podfile. You should add this step right below the 'use_frameworks!' and 'use_modular_headers!' lines. You can make the edits as shown below:
pod 'gRPC-Core', :modular_headers => true
pod 'gRPC-C++', :modular_headers => true
AND POD UPDATE
2- pod update
The sample Podfile is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With