Ionic app loads using Ionic serve but not with xCode

I’m currently stuck on a problem related to my Ionic project.

I have an Ionic project on GitHub which i’ve been working on in the past few weeks, i have a few Cordova plugins as part of the project.

When downloading the project from GitHub, i can run the app using Ionic Serve without a problem. However, when trying to setup the project for xCode to run on local device(s), i run into a multitude of errors

Some include:

  1. When running ionic ‘cordova platform add ios’ the following error appears

Error: Could not install from “ios” as it does not contain a package.json file.

  1. When trying to run ‘ionic cordova run ios -l --external’

Error: Error: terminating with uncaught exception of type NSException

I have not yet tried to transfer my code into a new Ionic project, as i wish to see if my problem can be solved without that hassle.

Any help is appreciated!

Thanks in advance

View project code here