V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
emperinter
V2EX  ›  程序员

Apple transporter 上传失败问题请教

  •  
  •   emperinter · May 16, 2023 · 1665 views
    This topic created in 1084 days ago, the information mentioned may be changed or developed.

    打包步骤

    • 基于 Electron 构建 dmg
    npm run electron:build
    
    • 再通过 quickpkg 把 dmg 转换成 pkg 文件
    • 电脑能够正常安装使用无异常

    异常报错弹窗提示信息如下所示

    无法为 App “xxx.pkg”创建临时 .itmsp 软件包。通过网络服务查询应用程序信息失败。

    已经做过的操作

    • apple connect 配置相关信息
    • 修改配置文件electron-builder.json
    {
        "appId": "xxx.xxx.xxx",
        "productName": "xxx",
        "buildVersion": "1.0.0",
        "directories": {
          "output": "dist"
        },
        "win": {
          "icon": "public/xxx.ico"
        },
        "mac": {
          "icon": "src/assets//xxx.icns"
        },
        "linux": {
          "icon": "src/assets/xxx.png"
        }
      }
    
    
    • 尝试 Appuploader 发现只支持 ipa 格式,目前没找到相关转换工具
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2519 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:22 · PVG 13:22 · LAX 22:22 · JFK 01:22
    ♥ Do have faith in what you're doing.