# Run iOS from CLI works fine, but error running in XCode

**URL:** <https://forum.ionicframework.com/t/run-ios-from-cli-works-fine-but-error-running-in-xcode/170706>\
**Category:** ionic-v3\
**Created:** [August 7, 2019, 4:40pm UTC](https://forum.ionicframework.com/t/run-ios-from-cli-works-fine-but-error-running-in-xcode/170706 "2019-08-07T16:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![obinnae](https://avatars.discourse-cdn.com/v4/letter/o/a183cd/32.png) [@obinnae](https://forum.ionicframework.com/u/obinnae)\
**Post date:** [August 7, 2019, 4:40pm UTC](https://forum.ionicframework.com/t/run-ios-from-cli-works-fine-but-error-running-in-xcode/170706/1 "2019-08-07T16:40:03Z")

</div>

Yo! If I run the following from the terminal…

`ionic cordova run ios --prod --address=0.0.0.0 --no-native-run -lc`

it works fine and opens up on the iPhone, but when I run it from XCode, it doesn’t go beyond the splash screen, and gives these errors (among others)…

**[NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 “Permission denied”, descriptor: \<CTServiceDescriptor 0x2825e8060, domain=1, instance=1\>**

**HTTP load failed (error code: -999 [1:89])**

**Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)**

**Failed to load webpage with error: Could not connect to the server.**

What gives?? How come it works fine via CLI, but not XCode? How can I determine what URL it’s trying to connect to? I was hoping to get it ready to submit to the app store, but with this issue, it might get rejected.

Any help would be appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![basti](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@basti](https://forum.ionicframework.com/u/basti)\
**Post date:** [November 11, 2019, 10:46pm UTC](https://forum.ionicframework.com/t/run-ios-from-cli-works-fine-but-error-running-in-xcode/170706/2 "2019-11-11T22:46:21Z")

</div>

Any news here, same in my project now?
