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.
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.