Meanwhile, clean the apple and chop them in small pieces. Heat a pan, add sugar, cinnamon powder, salt, chili, lemon juice, 2 tbsp water and ghee at low to medium heat. Once it start bubbling, add chopped apple and cook till apple gets tender and well coated with sugar. Stir occasionally to avoid it getting burnt. Once its done, turn off the heat. Let it cool down.