Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Core Animation profile in Instruments is nowhere to be found

I want to debug my core animation code. However, the instruments profile doesn't exist, and it's not available in the library in instruments either.

I'm using Xcode 4. How do I install/access it and get it working?

like image 754
Erik Avatar asked Jul 01 '11 14:07

Erik


People also ask

How to use Instruments in swift?

Select the Time Profiler instrument and click Choose to open a new Instruments document. Click the record button at the top left to start recording and launch the app. macOS may ask for your password to authorize Instruments to analyze other processes.

How do I open an instrument in Xcode?

How can I access Xcode Instruments? You can access the instruments by using Product ➔ Profile from the Xcode menu for which the shortcut handle is ⌘ + I . This will rebuild your product and opens the Xcode Instruments overview.

What is instruments on Mac?

Instruments is a powerful performance analysis and testing tool that's part of Xcode toolset. Instruments can help you profile your apps on all platforms - iOS, macOS, watchOS, tvOS - in order to better understand and optimize their behavior and performance.

What is profiler in Swift?

In simplest of terms, Time Profiler collects information about your app while it's running, determines how long each of your functions takes to run, and also figures out the percentage of CPU cycles each of your functions is using.


1 Answers

Core animation profiling is only available from a device. It won't show up if you're profiling the simulator.

like image 95
bryce Avatar answered Sep 29 '22 21:09

bryce