Time profiler in instruments is not working

IosXcodeXcode9Instrumentsxcode9.3

Ios Problem Overview


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

Ios Solutions


Solution 1 - Ios

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.

Solution 2 - Ios

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)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionCarusd RayView Question on Stackoverflow
Solution 1 - Iossuxinde2009View Answer on Stackoverflow
Solution 2 - IosMarmoyView Answer on Stackoverflow