How to run mobile application in Simulator?

Good day.

Is it possible to compile mobile application that can be launched in iOS Simulator ?

Regarding this thread https://stackoverflow.com/questions/11942477/installing-a-testflight-app-on-ios-iphone-simulator-registration-failed it is possible if compiling from Xcode directly. 

We need this in order to setup automated tests.

Would appreciate any input on this case.

Thanks in advance :)

I'm taking a bit of a guess here but shouldn't you just be able to run the application you compile for Debug purposes in Service Studio?

it is not for debug but for setting up automated tests of UI.