Time profiler in instruments is not working

2019-03-08 17:05发布

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

2条回答
做自己的国王
2楼-- · 2019-03-08 17:43

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)

查看更多
smile是对你的礼貌
3楼-- · 2019-03-08 17:48

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.

查看更多
登录 后发表回答