Make sure that you are distributing your app using the release scheme instead of the debug scheme.
To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Then set the Build Configuration dropdown to Release.