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.
attempting profile app in instruments shows device, grayed out , says it's offline
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.
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
Post a Comment