The version of the app you run on your iphone via Xcode will be in debug
mode, the one on the App Store is in release
mode. If you use preprocessors macro
(like DEBUG
), this could change the behaviour of your app.
If you think this could be the problem, go in XCode, in Product
> Scheme
> Edit Scheme
, select your project's target and change the BuildConfiguration
to Release
. You will see how your app run in release mode even if you run it from Xcode. It will be easier to debug the behaviour of your app.