# Ionic app loads using Ionic serve but not with xCode

**URL:** <https://forum.ionicframework.com/t/ionic-app-loads-using-ionic-serve-but-not-with-xcode/202962>\
**Category:** Ionic Angular\
**Created:** [January 16, 2021, 6:57pm UTC](https://forum.ionicframework.com/t/ionic-app-loads-using-ionic-serve-but-not-with-xcode/202962 "2021-01-16T18:57:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![error264](https://avatars.discourse-cdn.com/v4/letter/e/aca169/32.png) [@error264](https://forum.ionicframework.com/u/error264)\
**Post date:** [January 16, 2021, 6:57pm UTC](https://forum.ionicframework.com/t/ionic-app-loads-using-ionic-serve-but-not-with-xcode/202962/1 "2021-01-16T18:57:05Z")

</div>

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](https://github.com/designsheikh/bitsandbobs.git)
