When I try to Profile my arm64 application the icon just bounces in the dock and the Record button in Instruments turns off. These are the messages I see in syslog:
Jul 7 16:19:42 omniamutantor com.apple.dt.instruments.dtarbiter[73606]: BUG in libdispatch: 20A5299w - 512 - 0x0
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
Jul 7 16:39:44 omniamutantor Instruments[79734]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:39:46 omniamutantor com.apple.dt.instruments.dtarbiter[79738]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:40:13 omniamutantor com.apple.dt.instruments.dtsecurity[79742]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:40:13 omniamutantor com.apple.dt.instruments.dtsecurity[79743]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:12:55 omniamutantor com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.apple.dt.Instruments.34348.34556(501)> [10783]
Jul 7 17:12:55 omniamutantor Instruments[89397]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:12:57 omniamutantor com.apple.dt.instruments.dtarbiter[89403]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:13:05 omniamutantor com.apple.dt.instruments.dtsecurity[89405]: BUG in libdispatch: 20A5299w - 512 - 0x0
Anyone able to use Instruments on an arm64 app? Any special setup needed?
Jul 7 16:19:42 omniamutantor com.apple.dt.instruments.dtarbiter[73606]: BUG in libdispatch: 20A5299w - 512 - 0x0
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
"com.apple.dt.instruments" = 34360131584;
"com.apple.dt.instruments" = 0;
Jul 7 16:39:44 omniamutantor Instruments[79734]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:39:46 omniamutantor com.apple.dt.instruments.dtarbiter[79738]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:40:13 omniamutantor com.apple.dt.instruments.dtsecurity[79742]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 16:40:13 omniamutantor com.apple.dt.instruments.dtsecurity[79743]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:12:55 omniamutantor com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.apple.dt.Instruments.34348.34556(501)> [10783]
Jul 7 17:12:55 omniamutantor Instruments[89397]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:12:57 omniamutantor com.apple.dt.instruments.dtarbiter[89403]: BUG in libdispatch: 20A5299w - 512 - 0x0
Jul 7 17:13:05 omniamutantor com.apple.dt.instruments.dtsecurity[89405]: BUG in libdispatch: 20A5299w - 512 - 0x0
Anyone able to use Instruments on an arm64 app? Any special setup needed?
If you could provide a feedback report with a sudo sysdiagnose taken across the failure and include the ID here, that would be very helpful to triage further. As a potential workaround, you might be able to start profiling All Processes (for templates like Time Profiler) and then launch your application through Xcode. For single-process templates like Allocations, you might need to attach after the app is already launched, which would mean missing backtraces from before the attach point.