I'm intending to submit an update version to App Store. I'm experienced about this archiving -> validating -> distributing thing, so I followed the steps carefully. I've tried more than 20 times submission since yesterday and I always get an "Invalid Signature" rejection (Invalid Binary) after few minutes when upload received, all the same each time rejected automatically by the system.
I searched a lot and tried everything I can do, including cleaning build folder, re-generate certificate and profile, re-sign the package etc. Archiving is fine, validating is fine, everything is fine before Apple processing it. Really got mad by it, it says:
Finally I used the "codesign" command to check my App. I checked my previous version which was submitted successfully and it returns:
And my latest wrong *.app shows:
Then I opened *.app/_CodeSignature/CodeResources
I got some file references that I'm pretty sure I cannot find them in my project:
It feels like those wrong file references are exactly the reason (I'm not sure). I choosed "Create folder references for any added folders" option when adding resources and it looks like:
- Where can I remove those wrong "._." file references?
- Any other suggestion on how to solve the "Invalid Signature" issue?