Addresses [ENG-1942](https://linear.app/comm/issue/ENG-1942/pod-install-leaves-certain-pods-with-unconfigured-signing-team). Got the solution from here: https://github.com/CocoaPods/CocoaPods/issues/8891#issuecomment-546636698
EDIT: actually solution from here: https://github.com/facebook/react-native/issues/34673#issuecomment-1259253787