Swift related "Invalid binary"

I'm uploading a new version of an app today. And iTC tells me "Invalid binary". Corresponding email tells me this:


Invalid Swift Support - The bundle contains an invalid implementation of Swift. The app may have been built or signed with non-compliant or pre-release tools. Visit developer.apple.com for more information.


I'm compiling application as usual, with xcodebuild. Using 10.10.4 release and Xcode 6.4 release (I tried with 10.10.3, Xcode 6.3.2 and got the same result). Can't understand how this setup can build invalid Swift binary.


Am I the only one seeing this problem? What can I do to ensure that resulting binary is OK?


Thanks!

Accepted Answer

Do not understand why I did not see it yesterday. Thanks, will try everything mentioned there.

In my case simpliest solution was to submit through Xcode. Real problem (as far as I understand) is that SwiftSupport is missing from ipa.


Thanks!

Good info and thanks for the follow up.

Swift related "Invalid binary"
 
 
Q