Preheat the oven to 350 degrees F. Line a 12-cup muffin pan with paper cupcake liners.
Add the pineapples and bananas to a medium bowl. Mash together with the back of a fork and set aside. Whisk together the flour, baking powder, baking soda, cinnamon and salt in a separate medium bowl.
Add the butter and the sugar to a large bowl. Beat with a hand-held mixer until light and fluffy, 3 to 4 minutes. Beat in the eggs , one at a time, and then the vanilla extract. Add the dry ingredients into the wet by scoopfuls and beat until thoroughly combined. Beat in the pineapple and bananas, being careful not to over-mix. Fold in the pecans. Use an ice cream scoop to fill each tin three-quarters way full.
Bake until the tops turn golden brown and when a toothpick inserted in the middle of the cupcake comes out clean, 18 to 20 minutes. Remove the cupcakes from the oven to a wire rack and let cool completely before frosting.
Frost the cupcakes with the Cream Cheese Frosting once cool.
Cream Cheese Frosting:
Add the butter and cream cheese to a large bowl and beat together until smooth. Add the powdered sugar and vanilla and continue to beat until smooth and light.