Use a crisp tart apple that holds together when baked. I recommend Granny Smith apples but any tart and crunchy apple will do. Honeycrisps and Golden Delicious also work well.