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?
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.
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)
来源:https://stackoverflow.com/questions/49744280/time-profiler-in-instruments-is-not-working