XCode cocould not launch & quot; failed to get the task for process, xcostmch

Source: Internet
Author: User

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
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.