Preheat the oven to 350° and line a 8x8 (or 9x9) pan with parchment paper. Set aside.
In a large bowl, combine almond flour, coconut flour, coconut sugar, apple pie spice and salt. Stir well. Add in the coconut oil and almond milk and stir well until mixture is combined. Add in the apples, pecans, and raisins (if using) and mix until everything is well incorporated. Scoop into the prepared pan and spread as evenly as possible.
Bake 33-35 minutes, until edges are slightly brown. Let cool before frosting.
Once cooled, make the frosting. Warm up the coconut butter until smooth if needed. In a small bowl combine the coconut butter, maple syrup, ghee, vanilla, and salt. Stir well until smooth. Spread over cookie bars and cut and eat or store in the fridge.