how to detect if my app was launched from xcode after compilation or from package bundle downloaded from itunes?
The code below does not seem to work, given that the else block always gets executed when I build and run it from xcode.
#if (TARGET_OS_SIMULATOR)
#else
//Xcode did not launch this app
#endif