Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time profiler in instruments is not working

I recently update my Xcode to version 9.3, so is instruments. After that, time profiler won't work anymore, it usually works fine before.

I tried to run it via Xcode, and I tried to run it manually. Doesn't work. The life cycle row stuck in initializing, and I got a bunch of warnings complain about the data volume is too high for a recording mode of "immediate" and some data had to be dropped to move forward.

Then I switch to delay mode, still got nothing. Then I create a simple new project, which should have "little data volume", still got nothing.

I checked help, I googled, seems like no one has encountered this before. Does anyone have any clue about this?

enter image description here

like image 468
Carusd Ray Avatar asked Apr 10 '18 02:04

Carusd Ray


People also ask

How do you use Time Profiler Instruments?

Creating a new recording using the Time Profiler instrumentAfter selecting the Time Profiler Instrument we can start a new recording by pressing the red button on the top left or by using ⌘ + R . This will launch your app in the selected device after which you can start your flow.

How to open Time Profiler Xcode?

Profiling can be started with Product > Profile (command+I) which builds the application and opens Instruments. Instruments opens profiling template view where we should select Time Profiler. Clicking on the record button in the toolbar starts the application and starts profiling it.

How to launch Instruments from Xcode?

Launch Instruments from the Dock: Control-click the Xcode icon in the Dock, and then choose Options > Open Developer Tool > Instruments from the shortcut menu to launch Instruments.


1 Answers

I was hitting the same issue for a week.

Since today, I change the Xcode Version back to Xcode 9.2 - and the problem was resolved.

It seems like this is a bug of Xcode 9.3, I just filed an issue to Apple yesterday. No reply has been received.

like image 63
suxinde2009 Avatar answered Sep 19 '22 12:09

suxinde2009