Detect AppStore installation of iOS app
I need to implement a custom logging in my app. To do this i need to detect if the current version of the app has been installed from the app store or is running from xcode or is a TestFlight version. There is something different in the app depending from the installation source? I don't want to have something different in the development environment. You can get part of the way there by reading in the embedded.mobileprovision file from the application bundle: NSString *provisionPath = [[NSBundle mainBundle] pathForResource:@"embedded" ofType:@"mobileprovision"]; If that does not exist, you