I really despise XCode, but I have to use it because it's the easiest way of compiling SDL + C++ Code.
Anyhow, XCode is at it again, doing its usual shenanigans.
This time, I'm getting a 'invalid host string "localhost"' error. sigh
This happened to me once but I resolved it. I remember it took me like 3 days of trying to finally get it. But I just recently updated my XCode, and now it's happening again.
Whenever I try run my application, xcode gives me a 'invalid host string "localhost"'
Now, doing a search around the internet (like most times when it has to do with XCode) yields no correct results. They all say that either the hosts file is wrong, named incorrectly, or has a wrong extension. But nope.
My hosts file is under etc/hosts - It has no extension, it is named "hosts" not "host", and it looks like this:
I remember that when I solved it last time it did not have to do with the hosts file.
I really, really hate XCode.
Please help
Anyhow, XCode is at it again, doing its usual shenanigans.
This time, I'm getting a 'invalid host string "localhost"' error. sigh
This happened to me once but I resolved it. I remember it took me like 3 days of trying to finally get it. But I just recently updated my XCode, and now it's happening again.
Whenever I try run my application, xcode gives me a 'invalid host string "localhost"'
Now, doing a search around the internet (like most times when it has to do with XCode) yields no correct results. They all say that either the hosts file is wrong, named incorrectly, or has a wrong extension. But nope.
My hosts file is under etc/hosts - It has no extension, it is named "hosts" not "host", and it looks like this:
Code:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
I remember that when I solved it last time it did not have to do with the hosts file.
I really, really hate XCode.
Please help