Place the vinegar, sugar, garlic and ginger and spices in a large pan, slowly bring the contents to the boil, stirring regularly until the sugar has dissolved.
Lower the heat, add the tomatoes and apples, and cook over a low heat for 30 minutes to 1 hour, depending on the water content of the tomatoes. The tomatoes should remain chunky in texture.