Preheat the oven to 180ºC/gas 4.
Peel, core and finely chop the pineapple.
Cream the butter and sugar until light and fluffy, then beat in the eggs followed by the sour cream.
Sift in the flour, bicarbonate soda and a pinch of sea salt and fold through, then mix in the coconut and pineapple.
Pour into a lightly buttered and floured 18cm baking tin and bake for 1 hour to 1 hour 15 minutes, or until golden and a skewer comes out clean.
Cool slightly in the baking tin, then remove and leave to cool completely on a wire rack. Dust with icing sugar to serve.