Getting the following error when I run npx cap sync to run an ionic Angular project in xcode

When i run npx cap sync to run my ionic angular project in xcode I get the following error.

[!] The plist file at path `/Users/user/Documents/GitHub/project-name/ios/App/App.xcodeproj/project.pbxproj`
        doesn't exist.

The same also happens if I run ionic cap sync. Have tried recloning the repo and performing a fresh ionic build and ionic cap copy but that doesn’t seem to resolve the issue and googling about hasn’t helped either. I’m pretty new to angular and ionic so any help regarding this would be greatly appreciated.