Thanks @vadimwe, your last comment almost fixed the issue. So:
Try to archive
$ pod deintegrate
$ pod install
Clear build folder via xCode
Archive
After that, this error appeared:
"File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a"
This answer helped to solve this issue: https://stackoverflow.com/a/75924853/69349