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 发表评论
  • 相关阅读:
    I/O中断处理详细过程
    移动端事件touchstart、touchmove、touchend
    页面刷新整理
    transform:rotate在手机上显示有锯齿的解决方案大全
    CSS3盒模型温故
    CSS3颜色特征温故
    CSS3文本温故
    CSS3背景温故
    怪诞咖啡的简介
    CSS3边框温故
  • 原文地址:https://www.cnblogs.com/cokecoffe/p/2537120.html
Copyright © 2011-2022 走看看