Wednesday, 15 April 2015

ios - unable to run simulator directly using the xcode -



ios - unable to run simulator directly using the xcode -

i have problem in running ios application straight on simulator take many times run application , still not running , in xcode status bar display message "attaching , application name textscroll attaching textscroll" , still process , simulator open show black screen. tack 2 hours much time simple hello world application please give me solution if 1 have solution give thanks in advanced.

but seek 1 solution run application , stop application after open simulator , run application on simulator run problem in way not debug application using way please give me solution .

i believe well-known issue localhost not mapped 127.0.0.1 (the ipv4 loopback address) prevents debugger attaching targets.

you need right /etc/hosts:

start terminal.app

become root:

$ sudo bash

edit /etc/hosts using vi (easiest when root):

# vi /etc/hosts

this /etc/hosts file looks like:

## # host database # # localhost used configure loopback interface # when scheme booting. not alter entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost

ios

No comments:

Post a Comment