xcode - Cannot run Animation Hitches Instrument. Is this a bug? - Stack Overflow

I'm trying to run the Instrument "Animation Hitches", but it fails immediately after sta

I'm trying to run the Instrument "Animation Hitches", but it fails immediately after starting on the iPhone. This happens on multiple projects, including a brand new project.

I get the following errors:

Timestamp Message
(Before Run Started) Unexpected failure: Couriers have returned unexpectedly.
(Before Run Started) Failed to start the recording: Failed starting ktrace session.

I'm trying to run the Instrument "Animation Hitches", but it fails immediately after starting on the iPhone. This happens on multiple projects, including a brand new project.

I get the following errors:

Timestamp Message
(Before Run Started) Unexpected failure: Couriers have returned unexpectedly.
(Before Run Started) Failed to start the recording: Failed starting ktrace session.

The issue also happens with the instruments App Launch, but not with any other that I tested.

Is this a bug?

Using Xcode Version 16.1, Mac Mini M1 Sequoia 15.1. Running project on iPhone 14 Pro iOS 18.1.

Also posted on Apple Developer Forums

Share Improve this question edited Nov 19, 2024 at 5:29 Rob 439k74 gold badges841 silver badges1.1k bronze badges asked Nov 19, 2024 at 2:29 Cécile LebleuCécile Lebleu 1964 silver badges17 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 1

The problem would appear to be using “Recording mode” of “Deferred” when profiling on a physical iOS device, regardless of which Instruments template you choose. If you change the recording mode to “Capture last n seconds” (or, where available, “Immediate”), this problem does not manifest itself.

This problem jumps out at you when using “Animation hitches” template because that template does not accept a recording mode of “Immediate” and defaults to “Deferred” mode. But if you pick a different template, and manually change its recording mode to “Deferred”, that will also manifest the same problem.

This seems worthy of a bug report.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745585564a4634517.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信