If you're still facing the same issue, here's what worked for me: I had
platform :ios, '13.0'
in my Podfile, and I changed it to:
platform :ios, min_ios_version_supported
After making this change, everything worked perfectly for me. I hope this helps!