A server with the specified hostname could not be found

Zeeshan picture Zeeshan · Jul 1, 2012 · Viewed 149.2k times · Source

When I try to submit my app on the App Store through Xcode I got this error.

A server with the specified hostname could not be found.

Is this temporary error at Apple or something to do with Xcode?

Is anyone else facing this problem?

Answer

Kjuly picture Kjuly · Mar 21, 2014

It might be DNS Pollution issue, at least for my case (in China).

If you're also in China or some places that has DNS Pollution issue, you might solve this by modifying the DNS (to 8.8.8.8 as an example) for your Mac as well.


I got this error inner my iPad App & this happens randomly, it's such boring. Keep trying is not a good solution for me, though it might works somehow. Finally, I just changed my Wi-Fi DNS and no more error now. Steps:

  1. Your device, Settings/Wi-Fi
  2. Choose connected Wi-Fi pot
  3. Press DHCP/DNS
  4. Set to 8.8.8.8