A licence reads:
If you are an individual working on your own applications to sell or for any other purpose, you may use the software to develop and test those applications.
I'm having difficulties interpreting the meaning of the sentence, is the part or for any other purpose related to the verb sell which means that you can either sell or do whatever you want with the applications, or does it have another interpretation?