微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

jpackage pkg codesign-应用商店提交错误

如何解决jpackage pkg codesign-应用商店提交错误

我主要遵循代码符号并对此进行公证说明

Code signing + notarization using jpackage utility isn't working on macOS

即遍历每个.dylib和jar并签名。最后签署整个pkg并进行公证。

Pkg已成功创建并经过公证,但由于以下错误而无法提交到App Store。我绝对可以在Mac上毫无问题地运行此pkg。

第3项是什么意思?我在哪里可以获得第三方证书?或我该怎么办...

感谢任何人都可以指出正确的方向来解决这些问题

Noticed Info.plist =经过公证后未绑定,也许这表明代码签名未正确完成?

谢谢。

1. ERROR ITMS-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."

2. ERROR ITMS-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."

3. ERROR ITMS-90237: "The product archive package's signature is invalid. Ensure that it is signed with your "3rd Party Mac Developer
Installer" certificate."

4. ERROR ITMS-90249: "The product archive is invalid. The value of the LSApplicationCategoryType key in the Info.plist is UnkNown,which is not a UTI for a valid category. For more details,see
"Submitting your Mac apps to the App Store"."

5. ERROR ITMS-90254: "The product archive is invalid. The installer package may not include install scripts."

6. ERROR ITMS-90264: "The lowest minimum system version [none] in the Product DeFinition Property List must equal the
'LSMinimumSystemVersion' value [10.9] in the 'Info.plist'."

7. ERROR ITMS-90296: "App sandBox not enabled. The following executables must include the "com.apple.security.app-sandBox"
entitlement with a Boolean value of true in the entitlements
property list: [(
"MyApp-app.pkg/Payload/MyApp.app/Contents/MacOS/MyApp","MyApp-app.pkg/Payload/MyApp.app/Contents/runtime/Contents/Home/lib/jspawnhelper"
)] Refer to App SandBox page at
https://developer.apple.com/documentation/security/app_sandBox for
more information on sandBoxing your app."
=========

解决方法

就我而言(ERROR ITMS-90237),没有从钥匙串中删除过期的证书。 (新代码由XCode自动生成)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。