No need. The apples will cook while the rest of the cake is baking. Once the cake is finished, the apples would’ve completely baked through.