Line a 9x5-inch loaf pan with parchment paper.
In a large bowl, whisk together all-purpose flour, baking powder, baking soda, salt, cinnamon, ginger, and nutmeg. Set aside.
1 ½ cups all-purpose flour, 1 teaspoon baking powder, ¾ teaspoon baking soda, ¼ teaspoon salt, 1 teaspoon ground cinnamon, ½ teaspoon ground ginger, ¼ teaspoon ground nutmeg
In a separate medium bowl, whisk together vegetable oil, eggs, brown sugar, yogurt, vanilla extract, and shredded carrots until well mixed.
½ cup vegetable oil, 2 large eggs, 1 cup brown sugar, ⅓ cup yogurt, 1 teaspoon pure vanilla extract, 1 ½ cups peeled and shredded carrots
Pour the wet ingredients into the bowl of dry ingredients and gently whisk until just combined. Fold in the chopped walnuts or pecans. The batter will be semi-thick.
¾ cup chopped walnuts or pecans
Pour the batter into the prepared loaf pan and bake in the air fryer at 350°F (180°C) for 25-30 minutes, or until a toothpick inserted in the center comes out mostly clean.
Let the cake cool completely in the pan on a wire rack before removing it.
In a bowl, beat together cream cheese, unsalted butter, confectioners’ sugar, orange zest, and a pinch of salt using a hand mixer until smooth.
½ cup cream cheese, 2 tablespoons unsalted butter, 1 cup confectioners’ sugar, 1 tablespoon orange zest, 1 pinch salt
Once the cake is fully cooled, spread the frosting evenly on top. Slice and enjoy!