Some games are built to sell the player cheats.
I do not know if this is because many people discussing this aren't old enough to remember magazines with cheat code sections, or a few years later, the time spent on websites accumulating collections of cheat codes and easter eggs.Once upon a time things were build into the game to ease testing, or allow players to dick around in the game if they didn't feel like hunting after extra lives, usually used after the game was beaten.
Nowadays some games put these into a New Game + mode, or make them unlockable with achievements.
Other games, especially in the mobile realm however make games that can't be completed sicne they are playable ad infinitum, but are designed so the tediousness ratchets up over time. And then they employ the master stroke:
They sell the player one-time cheat codes.