It’s up to you if you want to peel the apples.  Apple peels may get chewy when baked, but they also add texture. I usually leave the peels on to save time when I make the cake.