My app crashes when I try to launch from iPhone

Hello,

I am able to sideload my app into my iPhone from Xcode and all works fine. What is strange is that when I stop the app from Xcode and tap on the app icon in my phone, the app crash and do not start. Which problem could this be? I think it may be an issue with certificates but not sure?
thanks