Appium inspector for mac os

hi iam working on appium for IOS devices.
i want to know how appium inspectors will generate the xml file. and how to add new variabe in appium inspector to identify objects. can any help me inthis regard with detailed explanation

thanks