Error running on iPhone

I ran an iPhone app on my phone and it worked without any issues about a month ago. Then i deleted it on my phone. Now i am trying to run it again but it does not run showing that my device is not registered. And when i went to the developer portal to check, it shows this error below.


An unspecified error occurred.

You cannot run your app on a device.


So how would i fix it? I am just a beginner so please help me.

Error running on iPhone
 
 
Q