A self-licking ice cream cone is a joke or a metaphor that means you can't get something (most often something good) by just wishing for it. It's like trying to eat an ice cream cone with your tongue sticking out and licking the cone - it's impossible to do it and get the ice cream! So this metaphor means that you can't get something without actually working towards it.