CFBundleIdentifier not found when cloned from git

I have my app running fine but whenever I clone my own git repo and run: react-native run-ios (after installing node modules and pod of course)

the terminal throws me with an error that the: cfbundleidentifier was not found.

But when I replace the build folder of my recently cloned app with the working version of my app it runs perfectly fine.

I have already tried to npm run rename to change the bundle identifier of my project.

I also have my googleService-info.plist file inside my ios folder and also the info.plist inside my ios/user folder.