App crashes to springboard but is still running in the background

Hello,

I’ve following problem. The app does kind of “crash” to the springboard but if I go to task switching, I can see that it is running successfully.
I’m not able to switch to the application, whenever I select it, it goes directly to the springboard.

The app is running fine on android, android emulator, iOS emulator and iPad. However I can’t run the app on the iPhone device itself.

The main xcode configuration looks like this:

What could be the error?

Nobody gave a shit, however I want to give back to the community.

Here is the fix:

image

The main interface part should be empty or it crashes.