Preheat your oven to 350°F (175°C). Line a 9x13-inch baking dish with parchment paper, leaving some overhang for easy removal.
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy, using an electric mixer.
Beat in the eggs one at a time and then add the vanilla extract, mixing until well combined.
In another bowl, whisk together the flour, baking powder, baking soda, and salt. Gradually add the dry ingredients to the wet mixture until fully incorporated.
Fold in the dried cranberries, white chocolate chips, and chopped pecans (if using) with a rubber spatula.
Spread the batter evenly into the prepared baking dish and bake for 25 minutes or until a toothpick inserted in the center comes out clean.
While the bars are baking, prepare the cream cheese frosting. In a mixing bowl, beat the softened cream cheese and butter together until smooth.
Gradually add the powdered sugar, mixing until well combined, then stir in the vanilla extract.
Once the bars are done baking, allow them to cool completely in the pan.
Once cooled, spread the cream cheese frosting evenly over the top of the bars. Sprinkle additional dried cranberries on top for decoration.
Cut into 12 equal bars and serve.