Peeling the Rosh Hashanah Apple

Rosh Hashana falls on Shabbos and you didn't peel the apples beforehand. Are you allowed to peel the apples on Shabbos, is it a borer problem? Does it matter that most people eat the skin? What is the status of an edible peel that you don't eat but most people eat?