Cut the apple, chilli and onion into small pieces, press the garlic and put in a saucepan with all the other ingredients.
Simmer over medium heat for about 15 minutes with the lid on or until the apple pieces are slowly softened. Then puree and simmer again for 5 minutes or until the desired consistency is reached.
Finally, pour through a fine kitchen sieve into a sterile mason jar.