Native packaging an ST2 app for simulator or device

Hi,
I have now tried for the past 12 weeks to try to achieve this which I was hoping was pretty simple, but no luck and no useful response to prior posts. Going thru dozens of hints from other posts I made little steps but at some point I got new problems or error messages.

Isn't there a guide or some piece of documentation that describes with a small sample what has to be done to package an app and run it on an iPhone for example?

So far I was able to package my app and load it onto my iPhone (via iTunes). The app starts but that is it. When I press a button nothing happens (when I run the app via Safari or Chrome everything is fine, so I assume that something gets broken in the conversion process).

So I thought that I try to build the app for the iOS simulator but that results in new errors, like: