Yes, you should peel the apple. The peel of an apple doesn't soften in the oven like the flesh does. So to truly enjoy the cookie as it was meant to be enjoyed, take the time to peel the apple.