In a large bowl, mix together the butter and sugar until light and fluffy (about 2 minutes)
Add the eggs one at a time, mixing until combined before adding the next egg. Add vanilla.
In a separate medium bowl, whisk together gluten free flour, cinnamon, nutmeg, allspice, salt, and baking soda.
Add dry ingredients to wet ingredients and mix until combined.
Remove the bowl from the mixer, and add the chopped apples and walnuts. Stir the apples and walnuts in by hand until combined. Mixture will be lumpy.
Bake at 350 for 40 minutes or until a toothpick comes out clean.
Let cool in the pan for 10 minutes before removing.
Top with powdered sugar or serve with vanilla ice cream.