Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode's Instruments for Core Animation keeps showing null

instruments

I am trying to see the fps of several UITableView in my iOS application. Though following Apple's documentation, the core animation template keeps showing null. Other instruments seems working as expected. Is there any configuration I missed?

Thanks in advance.

ps. The environment is xCode 6.2 running iPhone 6 Simulator on iOS8.2

like image 525
Azu Avatar asked Apr 10 '15 03:04

Azu


1 Answers

See here: https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Instrument-CoreAnimation.html

Core Animation template
Library pane (only appears when an iOS device is connected)

I feel like this is Apple's way of saying this instrument only works on device. I tested it myself and it has only worked on device so far for me.

If you look here: https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/Instrument-TimeProfiler.html

the time profiler, which does work on the simulator, does not have the same line about only appearing in the library pane when an iOS device is connected. So I think it is safe to say that Core Animation (and a few others like the Energy Usage Instrument) only will work with a device.

like image 174
Colin Avatar answered Oct 07 '22 12:10

Colin