Preheat the oven to 350 degrees F.
Oil the bottoms of your loaf pans well. If you are using pans that could be sticky, line them with parchment. I used avocado or MCT oil. With MCT oil in particular, the loaves slid right out of the pans.
Combine flour, xanthan gum, baking soda, salt and pumpkin pie spice in a large bowl. In a separate smaller bowl, combine the pumpkin and eggs until just blended. Stir in the avocado oil and the orange juice.
Add the wet ingredients to the dry, stirring gently until no pockets of dry ingredients remain.
Fold in the cranberries. Don’t overmix.
Spread into two 4 x 6 loaf pans (see note about sizes), four 3 x 6 pans or one 9 x 5 inch pan. Bake the smaller pans for 35 minutes and the larger pan for 60-65 minutes. The top and edges of the loaf will be slightly golden and a toothpick inserted into the loaf to test for doneness will come out clean.
Allow the loaf to cool in the pan for 10 minutes, then remove to a rack to cool the rest of the way.