In a large mixing bowl, mix together the flour, sugar, baking powder, ground cinnamon, baking soda, salt, ground ginger, and ground nutmeg.
Mix in the canned pumpkin, oil, eggs and molasses, mix well.
Mix well.
Pour the batter into a prepared pan (sprayed with olive oil or non-stick cooking spray) Then set into the air fryer for 18-22 minutes at 320 degrees F, (air fryer setting)
Before you remove the cake, make sure that the cake is fully cooked, by sticking a toothpick in the center. If it comes out clean, or with a few crumbs. The cake is fully cooked, and remove it and let it cool, before icing the cake.
To make the frosting, mix together the cream cheese, butter, powdered sugar, and milk.
Ice the cake.
Plate, serve, and enjoy!