This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Code Signing .py Files latest Xcode template
I am trying to upload a project to iTunes Connect (just setup a developer account and testing creating apps with the template). I'm using the latest template for the beta.
I am running into the following error when uploading:
ERROR ITMS-90035: "Invalid Signature. Code object is not signed at all. The binary at path [projectname.app/pylib/future.py] contains an invalid signature...
The error goes on for a while, but this is the main gist. I am using a valid signing id and all.
I've found this article on StackOverflow. Number 5 on the first answer seems to be the problem.
Does anyone have an idea on how to fix this or run into the same problem?
JonB last edited by
__future__.pystart with #!? If so, remove that line. If there are a lot, I'd write a script to search the whole pylib folder and strip out the shebangs.
__future__.pydid not start with a #!. I did remove those from all other files.
The file did start with a multi-line string and I noticed that all the files Xcode was complaining about started with multi-line strings for documentation. I stuck a comment before each of the strings and that appears to have fixed this issue for now.
Wrote a (real) quick script to sanitize the template. You can find it here.
For future reference:
Xcode did not like #! or multiline comments at the beginning of a file.