Time profiler in instruments is not working

2019-03-08 17:40发布

问题:

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?

回答1:

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 resloved.

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



回答2:

I had two versions of Xcode installed, and was experiencing this when using the Instruments associated with the oldest version of Xcode (9.4.1).

I solved the issue by using the Instruments associated with the newest version of Xcode I had installed (10.0)