Pre-heat the oven to 180°C / 160°C fan assisted / gas mark 4 / 350°F
Line a 12 hole regular muffin tin with large cupcake cases.
Sift together the gluten-free flour, bicarbonate of soda, baking powder, salt and spices in a large bowl and set aside.
Cream the butter and sugar in a large bowl (or stand mixer) using an electric hand mixer on medium for 2-3 minutes until light and fluffy.
Add the eggs one at a time to the creamed butter and sugar and mix in well.
Stir in the vanilla.
Add the flour mixture alternately with the sour cream, adding the flour in three additions and the sour cream in two (begin and end with the flour), scrape down the sides of the bowls as needed and mix until just combined.
Portion out the batter into the cupcake cases so each one is about half full. Spoon in a teaspoon of apple pieces into each one (the rest should be reserved for decorating the cupcakes) and press down gently to sink into the cupcake batter. The cupcakes should be about ⅔ full. Top up with a little more batter if needed.
Bake the cupcakes for 20 minutes, then remove from the oven. Immediately transfer the cupcakes to a wire rack to cool completely before frosting.