I have tried all below points to rectify this issue for ios 12 version in Xcode 12.4 but still not able to resolve this issue.
I have uninstalled all pods and install updated pods
Clean Project & re-build Project
Closed Xcode & reopen the same.
Turned OFF mac & restarted.
I also assure that I am opening xcworkspace project not xcodeproj.
Kindly suggest anyone who faced same issue or rectified this issue or know how to resolve it.