From the rules booklet:
"This game can be played in three different ways, but in all of them the winner is the first player to fill their tree with all the apples of his or her colour. The game starts with each player throwing the coloured die to decide the colour of their tree and apples"