My Code does not run in iphone emulator

Hello guys. I created my first application using ionic. It started working fine when I was coding and building in my mac in Chrome browser I used “ionic-server --lab”. But when I prepared it form ios and android platforms and ran it. It is working fine with android emulator but not working for ios emulator I don’t no why.

How can we track the service calls when making them in ios emulator. When I make in chrome I use developers tools network files to view service calls and header is there any way to view network calls in xcode.

Yes. Safari will allow you to inspect your app in a similar manner. You will need to enable the Debug mode (https://developer.apple.com/safari/tools/) .

As with any network calls, make sure your CSP and related settings are properly configured.