Results 1 to 2 of 2
Discuss How to use instruments with system app? at the iPhone Developer Exchange - Hackint0sh.org; Hi, I need to investigate resource use (including memory use, etc) by various apps on ...
  1. #1
    JGR
    JGR is offline
    Newbie Array

    Join Date
    Mar 2011
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default How to use instruments with system app?

    Hi,
    I need to investigate resource use (including memory use, etc) by various apps on my jailbroken iPad 4.2.1. I tried to use Instruments from SDK. The Instruments can either start an app or attach to a running process. But this only works on my own apps. I can neither start now attach to a system or appstore app. I moved some system apps from 'System' to 'User' section and replaced 'ApplicationType = System' by ApplicationType = User' in
    /User/Library/Caches/com.apple.mobile.installation.plist. After that Instruments enabled this app in its "Attach to process"
    and "Choose Target" menu, but attempt to launch or attach to that app still fails with error messages like "Failed to launch process with bundle identifier xxxx" or 'Failed to get task for pid 180'. Note that I can attach to any app in gdb, but not in Instruments.
    So, do you know what is the difference between a system (or appstore) app and homegrown app? Is it a signature? Some plist entry? Some system call?
    Another question: are there tools, besides Instruments, to monitor memory and other resource use by an app?
    Thank you



  2. #2
    Rookie Array

    Join Date
    Nov 2007
    Posts
    17
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by JGR View Post
    Hi,
    I need to investigate resource use (including memory use, etc) by various apps on my jailbroken iPad 4.2.1. I tried to use Instruments from SDK. The Instruments can either start an app or attach to a running process. But this only works on my own apps. I can neither start now attach to a system or appstore app. I moved some system apps from 'System' to 'User' section and replaced 'ApplicationType = System' by ApplicationType = User' in
    /User/Library/Caches/com.apple.mobile.installation.plist. After that Instruments enabled this app in its "Attach to process"
    and "Choose Target" menu, but attempt to launch or attach to that app still fails with error messages like "Failed to launch process with bundle identifier xxxx" or 'Failed to get task for pid 180'. Note that I can attach to any app in gdb, but not in Instruments.
    So, do you know what is the difference between a system (or appstore) app and homegrown app? Is it a signature? Some plist entry? Some system call?
    Another question: are there tools, besides Instruments, to monitor memory and other resource use by an app?
    Thank you
    I am curious if you were able to figure this out?

 

 

Similar Threads

  1. MacNN: Native Instruments debuts Traktor Kontrol S2 DJ system
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 08-26-2011, 06:00 AM
  2. pro tools 9... Native instruments programs...
    By yaren in forum Genuine Mac Support
    Replies: 1
    Last Post: 05-02-2011, 02:19 PM
  3. MacNN: Native Instruments shows Traktor Kontrol S4 DJ system
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 08-16-2010, 11:10 PM
  4. Texas Instruments xx12 : need help
    By mounir92 in forum Hardware
    Replies: 1
    Last Post: 08-06-2009, 03:09 PM
  5. simple app idea (aircraft instruments)
    By resetario in forum Free Toolchain Software (Cydia App's)
    Replies: 6
    Last Post: 11-28-2007, 06:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:17 PM.
twitter, follow us!