This is my first app being submitted to the app store, and I did everything according to the apple guide, but when I finally tried to build with the distribution configuration, I get one error and one warning. This is my build log of the error and warning, and I was wondering if anyone could tell me what is going on here.
warning: Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011)
failed to extract requirements data: 1
/Users/xxxx/Desktop/xxxx/build/Distribution-iphoneos/xxxxx.app: object file format invalid or unsuitable
failed to extract entitlements: 1
- (null)
Also,
/Users/xxxxxx/Desktop/xxxxx/build/Distribution-iphoneos/xxxxxxx.app: object file format invalid or unsuitable
Command /usr/bin/codesign failed with exit code 1
What is going on?