# Debugging IOS

**URL:** <https://forum.ionicframework.com/t/debugging-ios/195179>\
**Category:** Ionic Angular\
**Created:** [August 26, 2020, 2:34pm UTC](https://forum.ionicframework.com/t/debugging-ios/195179 "2020-08-26T14:34:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joeceaton](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@joeceaton](https://forum.ionicframework.com/u/joeceaton)\
**Post date:** [August 26, 2020, 2:34pm UTC](https://forum.ionicframework.com/t/debugging-ios/195179/1 "2020-08-26T14:34:38Z")

</div>

I have an app that is working correctly on Android and in Chrome and Safari. It has a bug that only appears when the app is installed on a physical IOS device. I have tried to debug the app using the process described here:

> **[Debugging - Ionic Documentation](https://ionicframework.com/docs/troubleshooting/debugging)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

While I can see the phone and open pages in Safari, I don’t see my app. I am using an “App Store” distribution version of my app. I assume this is why I can’t see it in Safari.

When I create a Development version of my app using a development profile, I can’t upload it to Apple using Transporter. Transporter tells me “A Distribution Provisioning profile should be used when submitting apps to the App Store” Fair enough, the app store isn’t for development I guess.

I found this post from 2016:

> <https://stackoverflow.com/questions/25689270/debug-ionic-app-on-ios>

  
I used option 3. (I had to modify the command to: ionic capacitor run ios -l -c -s)  
The app runs here with no problems either. I tried multiple emulators. All ran fine.

How can I debug this app?

---

<div class="post-metadata">

**Author:** ![joeceaton](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@joeceaton](https://forum.ionicframework.com/u/joeceaton)\
**Post date:** [August 26, 2020, 8:34pm UTC](https://forum.ionicframework.com/t/debugging-ios/195179/2 "2020-08-26T20:34:27Z")

</div>

Update: when I connect an iPhone to my MacBook and select it as a build target, the app fails to compile with “No such module ‘Capacitor’”.

Any ideas?
