Make sure your Active Configuration is set to the appropriate selection (Debug/Distribution). Basically, you shouldn't be debugging/changing code if you're going to Distribute the app (that's what Distribution mode is for, final packaging before you distribute, even to Beta Testers [Ad Hoc]). See if changing back to Debug (don't forget to change your Code Signing back to Debug sigs) doesn't fix the problem.