Add all ingredients into a small pot. Cook over medium-high heat, stirring occasionally, until the apples are super tender and have soaked up a lot of the sugar and liquid.
For the dough
In a food processor, mix together the flour, sugar and salt. Add the butter, eggs and water and pulse together until a clumpy dough forms.