Using a "crack" to bypass licensing for the MPLAB XC8 compiler is a violation of the and carries significant technical, legal, and security risks.
If you prefer to avoid proprietary compiler restrictions entirely, you might consider: SDCC (Small Device C Compiler): Licence For Mplab Xc8 Compiler Crack