-->"Show in finder";
-->"Show package contents";
-->In the "xx.xcarchive" file, find the "Products"->"Applications"->"xx.app"(xx is your app's name), "Show package contents" again;
-->Finally, you can see there has a file named"Info.plist", open it;
Edit the value with a key named "BuildMachineOSBuild", I just change it to "15F34"(it's "EI Capitan 10.11.5" 's version);
与我,我的应用程序写的 Swift 2.2。而且必须使用 Xcode 7.3.1到 archive和上传到 Apple testflight但得到了相同的错误(我运行在 macOS Sierra-10.12)。下面的解决方案为我解决了这个问题,希望其他面临同样问题的人能够找到一些有用的东西:
1> Use Xcode 7.3.1 to archive
2> Export to file .ipa
3> Quit Xcode 7.3.1 then open Xcode 8, and then open Application Loader, use Application Loader to upload file .ipa to itunes connect.