Question about an app in development stages and a jailbroken phone

i have an iphone 3gs with 4.3.5 ios,
I tried to install a custom app thats in its design stages to test it out. When I tried to sync it in itunes I kept getting an error saying: "the signer is not valid"
So I jailbroke my phone and tried it again and I still got the same error.

Do I have to purchase a developer account in order to test the app?

Original thread: https://forums.imore.com/threads/question-about-an-app-in-development-stages-and-a-jailbroken-phone.219062/