When I archived my iPhone application for review on the app store, I got the warning:
Application failed codesign verification. The signature was invalid, contains disallowed entitlements, or it was not signed with an iPhone Distribution Certificate. (-19011)
I didn’t think much of it because it was only a warning. I uploaded the app to the app store through organizer and it was successful regardless of the warning. Should I worry about the warning, and will it effect the review process or distribution of the app in any way?
After some research in the Apple developer guide and Google, I found out that I was using the wrong profile. Under Project > Build Settings > All > Code Signing > Release, the profile should be set to “iPhone Distribution: Your Name”, instead of iPhone Developer.