xctrace(xcode-beta) export, sample schema needed for help

I launched instruments using Xcode-beta 12.2 . I used the below command line 
xcrun /Users/jobjames/Downloads/Xcode-beta.app/Contents/Developer/usr/bin/xctrace record -template "Leaks" --output Instruments.trace --launch < hello_world/Hello/Build/Products/Debug/Hello.app/Contents/MacOS/Hello 

Now I tried exporting the generated Instruments.trace to xml file
/Users/jobjames/Downloads/Xcode-beta.app/Contents/Developer/usr/bin/xctrace export --input /Users/jobjames/Desktop/Instruments.trace --xpath '/trace-toc/run[@number="1"]/data/table[@schema="my-table-schema"]'

Although my instruments had leaks info, this generated xml does not have any information. Please tell me the format for xpath, to have the leaks information and backtrace in the generated xml.








Answered by Developer Tools Engineer in 641861022
Hi there,

Export feature doesn't support our Leaks and Allocations Instruments yet, as they're build as a different recording technology. We're tracking it internally and will inform when this feature will be available in the release notes.

Kacper
Accepted Answer
Hi there,

Export feature doesn't support our Leaks and Allocations Instruments yet, as they're build as a different recording technology. We're tracking it internally and will inform when this feature will be available in the release notes.

Kacper
Hi Kacper,

Is there a timeline for the export feature with xctrace for Leaks and Allocations instruments? Which version of xcode will start supporting this?

Is there any other command line option, which is bundled with xcode Developer tools for getting the leaks information from .trace folder to a readable/xml format? So that it could be used by another standalone application/script?
Hey Kacper,
I am using xctrace command for Xcode 12 to record leaks. Is there any alternative to export leaks or to make it readable other than 'xctrace export'

Hey! I also use xctrace but I need some kind of analog to work with https://www.worktime.com Maybe there is something else similar?

xctrace(xcode-beta) export, sample schema needed for help
 
 
Q