zoukankan      html  css  js  c++  java
  • Target failed to run: Remote exception encountered: 'Failed to get task for pid #

    I got this error just recently when i tried to use the instrument to profile my iPad application on the device. And when i selected "Profile" from the menu, and instrument was opened. Then i selected "Allocations" or "Leaks", i just heard "Funk" and then nothing happened. So i checked out the Console and found out some errors about missing plug-ins for these selected functions. So bascially, it's because some plug-in in your Xcode application folder was missing or crrupt. So better remove Xcode completely through Command line "sudo /Developer/Library/uninstall-devtools --mode=all",then reinstall it. You should be good to go.
    Then when i rerun my app with instrument i received another error which was the topic of this post. After searching a little bit. It's actually very easy to fix.

    1.Make sure, the "Profile" scheme is using "debug" not "release" build configuration

    Here is the way how to change it: In Xcode4, select "Product/Edit Scheme" from the top menu then click on the "Profile" button on the left panel. Under the "Info" tab you will see "Build configuration", make sure "Debug" is selected.

    Wangkeke 2011-11-16 17:23 发表评论
  • 相关阅读:
    codova 打包vue项目的坑
    vscode 开发wtl 笔记
    redis
    展开/收缩 ul
    ueditor
    xml
    NPOI
    滚动效果,有些浏览器不支持
    fileupload控件上传、文件下载
    excel函数
  • 原文地址:https://www.cnblogs.com/cokecoffe/p/2537120.html
Copyright © 2011-2022 走看看