2016-10-03 92 views
0

我想从Xcode 8上传构建到App Store。我成功地能够上传构建,但在iTunes上连接它显示错误消息。无法上传从Xcode 8构建

错误消息: 此版本无效。

下面是截图:

enter image description here

是有8 Xcode的任何设置? 。请建议我。提前致谢。

+0

无法确定的问题。有太多因素PLZ阅读http://stackoverflow.com/questions/33833105/ios-builds-this-build-is-invalid-in-itunes-connect https://forums.adobe.com/thread/ 2089652 https://forums.adobe.com/thread/2089652 –

+0

@Gagan_iOS感谢您的上述链接。添加了描述后,我忘了在info.plist中添加NSPhotoLibraryUsageDescription。 – Kalpesh

回答

0

根据@Fan Zhang的回答,按照这些步骤操作,您可以上传这个档案,使用Xcode或Application Loader,无论您想要什么!

当您归档您的应用程序,找到你的档案管理器,然后:

-->"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); 

这帮助我