1. Preheat oven to 375°.
2. Place shredded peeled apple in paper towels; squeeze until barely moist. Heat oil in a small skillet over medium heat. Cook apple and shallots in oil over medium heat for 7 minutes. Stir in pepper and garlic; cook 1 minute.
3. Weigh or lightly spoon flour into dry measuring cups; level with a knife. Combine flour, sugar, baking powder, and salt in a large bowl, stirring with a whisk; make a well in center of mixture. Add shallot mixture, cheese, and cider to flour mixture, stirring just until moist.
4. Spoon batter into a 9 x 5–inch loaf pan coated with cooking spray. Drizzle 1 tablespoon butter over batter. Bake at 375° for 35 minutes. Drizzle remaining 1 tablespoon butter over batter. Bake an additional 25 minutes or until deep golden brown and a wooden pick inserted into the center comes out clean. Cool in pan 5 minutes on a wire rack; remove from pan. Cool completely on wire rack.