cargo-instruments fails with "Failed instruments errored:"
bes opened this issue · comments
I am trying to get cargo-instruments
running like this:
cargo instruments -t time
Finished dev [unoptimized + debuginfo] target(s) in 0.96s
Profiling target/debug/cli with template 'Time Profiler'
<Prints my application logs>
Failed instruments errored:
I have tried searching the issues here for that error, but I can't find anything.
I have xcode installed through Xcodes
and I have verified that I can start the Instruments app.
I have used Instruments to instrument iOS applications previously.
Thanks <3
hm, I'm really not sure what's going on here. What version of macOS/instruments is involved? Is your project open source? Can you manually profile from the instruments app, by running your built debug binary directly?
Hello @cmyr -
- macOS
Ventura 13.0.1
EDIT: Intel x86 2019 16" MBP - Instruments
Version 14.1 (14C18)
- Unfortunately my project isn't open source T_T;;
- Yes I can attach manually using Instruments, it works well.
Same error on Ventura 13.0.1, xcode 14.2, Instruments 14.1, running against https://github.com/Qovery/Replibyte/
hmm. I've been avoiding ventura and so don't currently have a machine I can test this on...