Spray a 9×5-inch loaf pan with nonstick spray and set aside.
In a medium bowl, whisk together the flour, cinnamon, baking powder, baking soda, and salt. Set aside.
In a large bowl beat together the vegetable oil, granulated sugar, and brown sugar until smooth.
To the sugar mixture, add the egg, mashed bananas, and crushed pineapple and beat until well combined.
Add the dry ingredients to the bowl with the wet ingredients and mix just until combined. Do not overmix.
Gently fold in the shredded coconut and chopped pecans.
Add the batter to the prepared pan and bake for 50-60 minutes until golden brown and a toothpick inserted in the center of the bread comes out clean. (If the bread starts to brown too much on top while baking, cover it loosely with aluminum foil.)
Remove bread from the oven and allow to cool completely in the pan.
While the bread cools, beat together the cream cheese, butter, powdered sugar, and vanilla extract until smooth.
Spread the frosting over the top of the cooled bread.