Time profiler in instruments is not working

China☆狼群 提交于 2019-12-03 03:25:23

问题


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




回答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)



来源:https://stackoverflow.com/questions/49744280/time-profiler-in-instruments-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!