Invalid Signature - MacOS app

Hi everyone. Recently I tried uploading my game to MacOS app store. I signed the game and I exported the .pkg to the store. The upload goes fine, and after an hour or les I get the following error


Dear Developer,

We identified one or more issues with a recent delivery for your app, "Ella - The Game". Please correct the following issues, then upload again.

Invalid Signature - The main app bundle Ella at path Ella.app has following signing error(s): code object is not signed at all In subcomponent: /Volumes/data01/app_data/dstr/mz_2525899551678480836dir/mz_994518384643189812dir/rocks.poopjournal.ellam.pkg/Payload/Ella.app/Contents/Ella.provisionprofile . Refer to the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html for more information.

Unable to Sign - This package doesn't meet the current code signing requirements. For more information, see the Code Signing and Application Sandboxing Guide at http://developer.apple.com/library/mac/#documentation/Security/Conceptual/CodeSigningGuide/AboutCS/AboutCS.html and Technical Note 2206 at https://developer.apple.com/library/mac/technotes/tn2206/_index.html Specifically, codesign generated the following errors: [ rocks.poopjournal.ellam.pkg/Payload/Ella.app: code object is not signed at all In subcomponent: rocks.poopjournal.ellam.pkg/Payload/Ella.app/Contents/Ella.provisionprofile]

Best regards,

The App Store Team


I do not know why this error is happening. Please let me know in case you need any more infos in order to detect the cause of the problem.
Thanks in advance.