使用传输程序将电子应用程序上传到 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
在哪里定义以及如何修复它?
原来它指的是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
命令的这些参数