XCode: Could not launch “APP_X_Y” - 'A' packet returned an error: -1

前端 未结 4 2159
半阙折子戏
半阙折子戏 2021-01-04 13:11

I\'m trying to get my App to work again on the simulator as well as on my device. Before I got this error, I went through an odyssee of XCode signing errors, but right know

4条回答
  •  失恋的感觉
    2021-01-04 13:33

    None of the other answers helped me.. I wasn't able to launch ANY apps in Xcode 5 until I uncluttered my /etc/hosts file - leaving just the basics...

    ::1                     localhost
    127.0.0.1               localhost
    255.255.255.255         broadcasthost
    fe80::1%lo0             localhost
    10.0.1.100              XYZ.com
    2001:470:XXXX::100      XYZ.com
    

    You must edit the file as root, btw... sudo nano /etc/hosts

提交回复
热议问题