使用 Transporter 将电子应用程序上传到 Mac App Store 时产品存档元数据无效

问题描述 投票:0回答:1

使用传输程序将电子应用程序上传到 Mac App Store 时遇到这些错误。

Asset validation failed (90230)
Invalid product archive metadata. Error in keyPath [product-metadata.product-identifier]. Please re-build your archive with an up-to-date version of Xcode, and submit again. (ID: 42de3de7-0fab-4f22-ab01-06195842aaaa)

Asset validation failed (90230)
Invalid product archive metadata. Error in keyPath [product-metadata.product-version]. Please re-build your archive with an up-to-date version of Xcode, and submit again. (ID: 63470cc8-c192-4500-a51d-ded305887f88)

我正在使用电子锻造(7.3.1),更新到最新版本的电子(29.1.6)和XCode(15.3),使用

packagerConfig.extendInfo
覆盖以下键并检查最终包在info.plist中是否有这些

  <key>DTPlatformVersion</key>
  <string>14.4</string>
  <key>DTSDKBuild</key>
  <string>23E208</string>
  <key>DTXcode</key>
  <string>1530</string>
  <key>DTXcodeBuild</key>
  <string>15E204a</string>

product-metadata
在哪里定义以及如何修复它?

xcode macos electron app-store app-store-connect
1个回答
0
投票

原来它指的是productbuild

的参数
     --identifier product-identifier
         The given unique (non-localized) product-identifier will be associated with the product.

     --version product-version
         The given product-version string will be associated with the product.

我必须修改

osx-sign
以包含
productbuild
命令的这些参数

© www.soinside.com 2019 - 2024. All rights reserved.