SOLVED:

Found this thread:
https://forum.omz-software.com/topic/5310/when-will-omz-release-an-xcode-template-for-python3/48

As suggested there, I've added the #LyX line to all my .py files and have managed to upload my build succesfuly to Itunes Connect

Cheers!