XCode cocould not launch "" failed to get the task for process, xcodecomch
Compiling the project in Xcode is normal, running normally in the simulator, and the following error occurs when running on the real machine:
Cocould not launch "FeedMeWorms" failed to get the task for process 3118
The reason is: My signature is distribution certificate, that is, the publisher certificate, which cannot be run directly on a real machine.
Use the developer certificate.
Reference: http://blog.csdn.net/teng_ontheway/article/details/8467932
IOS programs run normally in virtual machines, but the real machine test may return seconds.
The distribution certificate used by the real machine test code signing. Using distribution cannot start and run from xcode, but it has no other impact, it should also be OK for you to directly run the app on ios devices.
If debug is required, change the code signing to development.
Helped xcode build successfully without network connection, but cocould not launch invalid host string: 'localhost'
Terminal Operation
# Vim/etc/hosts
Add the following content and save it.
127.0.0.1 localhost
255.255.255.255 broadcasthost
: 1 localhost
Fe80: 1% lo0 localhost