Does macOS Sierra run Xcode 7.x?
Submitting apps built with beta versions of an OS or beta versions of Xcode are not officially supported, but you can build apps with a normal version of Xcode on a beta OS by changing the OS version prior to archiving the app inside Xcode.