iOS Device is not Connecting to Internet in Xcode 9.1

1.1k Views Asked by At

My iOS project is running but getting no internet access in this project, In Safari browser internet is fine, but only in the project i am unable to access internet.

  • xcode project not connect to internet , already access internet in safari.
  • Safari Internet access done,
  • Project login is not working internet access error xcode 9.1.

video link

3

There are 3 best solutions below

3
user2027712 On

Are you in China? You may go to settings and choose Network, and then find your app in list. So you can change the net setting for your app.

5
Vaibhav Singh On

iOS devices should be connected same wifi networks and checked for connect via network under devices and simulators.enter image description here

1
R. Mohan On

I think the issue is with the API's / http request / the url you are using. And the network (wifi / mobile data) you are using to make the login request.

http request / the login url you are using may require your company's authorized wifi, to get response from that login request. I also faced the same issue when using a public wifi of my company, then informed this issue to the network team and backend team, then they gave access for some other authorized wifi, then i got the response successfully.

So discuss with your network team and the backend team.

And check the login url is working fine in Postman. It is an application used to check the API's / url's by the backend team are working fine. In that you just need to put the url and the parameters required.