"你上传的二进制文件是无效的。该文件是不是有效的zip文件"错误信息在上传应用iTunes Connect中 [英] "The binary you uploaded was invalid. the file was not a valid zip file" Error message uploading app to iTunes Connect

查看:165
本文介绍了"你上传的二进制文件是无效的。该文件是不是有效的zip文件"错误信息在上传应用iTunes Connect中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想上传一个iPhone应用程序二进制iTunesConnect并不断收到以下错误消息您上传的是无效的二进制文件。该文件不是有效的压缩文件。我有一个应用程序上传最近确定,但这个程序有问题。因此,一段时间后我仔细通过以下步骤努力确保一切都怎么样了。任何帮助是AP preciated。

的步骤:


  1. 改名项目
    (项目 - >重命名...输入名字进入
    重命名项目:)释放名称
    确保该名称没有空格。


  2. 清理项目


  3. 确保
            在建的设置反映引用
            新的应用程序名称

  4. 创建新的应用程序ID
        在iPhone配套项目名称
        配置门户网站

  5. 被毁坏的老
        开发商和分配器
        配置在型材
        配置门户网站,在X code和上
        iPhone。

  6. 创建新发展
        使用新的应用程序配置文件置备
        名称。

  7. 安装开发
        供应轮廓成X $ C $ -C 8)
        建立(释放)为iPhone OS 3.1.3
        (我最高的手机将升级到,
        我假设当前发布
        版本)


  8.   

        

    构建,安装和运行实际
        iPhone:对我来说这implys App和
        开发者ID是确定。


      

  9. 创建一个分销商的provisioning profile
    使用现有的分配器ID。


  10. 安装分配器ID为X $ C $ç

  11. 清除

  12. 检查发现code
         签名身份和任何iPhone OS
         在生成设置设备线
         设置为分销商ID

  13. 构建
         释放OS 3.1.3

  14. 检查构建
         结果,以确保code签订
         与分销商档案

  15. 显示
         .app文件和COM preSS(ALT点击>
         COM preSSappName.app)

  16. 上传
         到iTunes连接


      

        

    给出你上传的二进制文件是无效的。该文件不是
        有效的zip文件


      


解决方案

下面是一些额外的步骤我尝试:清洗干净后(或干净的全部)退出X code,则删除build文件夹。我不生成和去,只是生成。该AppName.app一般在应用商店文件夹(或任何你名的App Store发布您的构建配置。我右击只有AppName.app文件,并选择的COM preSS在Finder中。

您也可以尝试用Safari浏览器上传。

好像你的问题是不是与供给曲线,但与方式文件将被压缩(或者上载)。请尝试重复的那部分,改变细节。

I'm trying to upload an iPhone app binary to iTunesConnect and keep getting the following error message "The binary you upload was invalid. the file was not a valid zip file". I had an app upload ok recently but this app is having problems. So after a while I carefully went through the following steps trying to make sure everything was ok. Any help is appreciated.

The steps:

  1. renamed the project (Project->Rename... enter name into Rename project to:) to release name making sure the name has no spaces.

  2. Cleaned project

  3. Make sure references in build setting reflect new app name
  4. Create new app ID matching project name in iPhone Provisioning Portal
  5. Destroyed old developer and distributer provisioning profiles in Provisioning Portal, in XCode and on iPhone.
  6. Create new development provisioning profile using new app name.
  7. Install development provisioning profile into XCode 8) Build (Release) for iPhone OS 3.1.3 (highest my phone will upgrade to, I'm assuming current released version)
  8. Builds, Installs and Runs on actual iPhone: To me this implys App and developer ID's are OK.

  9. Create a distributor provisioning profile using existing Distributer ID.

  10. Install distributer ID into XCode
  11. Clean
  12. Checked that "Code Signing Identity" and "Any iPhone OS Device" lines in Build settings are set to Distributor ID
  13. Build for release for OS 3.1.3
  14. Check Build results to make sure code is signed with Distributor Profile
  15. Reveal .app file and compress (alt click > Compress "appName.app")
  16. Upload to iTunes connect

    Gives "The binary you uploaded was invalid. The file was not a valid zip file"

解决方案

Here's some additional steps I try: Quit Xcode after clean (or clean all) then delete the Build folder. I don't "Build and Go", just "Build". The AppName.app is generally in the "App Store" folder (or whatever you name your build configuration for App Store release. I right click only that AppName.app file and choose "Compress" in the Finder.

You could also try uploading it with Safari.

It seems like your problem isn't with the provisioning profiles, but with the way the file is being zipped (or maybe uploaded). Try repeating that part, changing details.

这篇关于"你上传的二进制文件是无效的。该文件是不是有效的zip文件"错误信息在上传应用iTunes Connect中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆