c++ - XCode 7.2 unable to view memory profiling info / Device is offline in instruments -


i'm running ios demo using objective c++ library (some .mm files) , profile app's memory usage instruments. however, see debug tab not show memory information.

enter image description here

enter image description here

attempting profile app in instruments shows device, grayed out , says it's offline

enter image description here

how can fix xcode allow memory debugging/profiling of project? have using objective c++ libraries?

you can check whether project's zombie objects enabled.

open:

product -> scheme -> edit scheme -> run-diagnostics -> enable zombie objects

if open please close run.

this screenshot picture

edit: issue twofold, "unable profile on device ios 9.x.x bug, here's support thread: https://forums.developer.apple.com/thread/16242 . here steps 1 of posters suggested:

  • power down device completely.
  • unplug device mac.
  • close xcode , instruments.
  • restart device & plug in once has restarted.
  • re-launch xcode.
  • here, device disabled , xcode indicated device not available use.
  • clean, build, profile (command-i).
  • when instruments launched device enabled.
  • upon selecting it, message displayed title "enable device development?" , message "this open xcode , enable device development."
  • click "open xcode".
  • here did not notice being displayed - no additional messages indicating had been done or device or not available development.
  • opening devices window, device appeared available. here able select device in instruments , profile it. again able delete installed apps devices window.

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -