I tried everything, but the problem persisted.
After that I did this and it worked ASAP (As Smooth As Possible).
- Open the .xcworkspace file.
- Change to legacy build system if using Cordova on Xcode 10.
- Go to target/project of Podfile. Select Deployment traget as 11+
- Then Change the debug and release to Pods-.build/release. It was App.debug/release in my case.Pic attached. Hope it helps.