java - jpackage pkg codesign -- appstore 提交错误

标签 java macos codesign jpackage

我主要遵循此中的代码签名和公证说明

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

即检查每个 .dylib 和 jars 并签名。最后对整个pkg进行签名并公证。

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

第 3 项是什么意思?我在哪里可以获得第 3 方证书?或者我需要做什么...

如果有人能指出我解决这些问题的正确方向,我将不胜感激

注意到 Info.plist=not bound after notarization,也许这表明代码设计没有正确完成?

提前致谢。

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),过期的证书没有从钥匙串(keychain)中删除。 (新的由 XCode 自动生成)

关于java - jpackage pkg codesign -- appstore 提交错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64573860/

相关文章:

java - 日期格式化后以小写形式显示 AM 和 PM

macos - 设置 NSTextView 的占位符字符串

macos - 动态代码有效性检查可以防止哪些类型的动态代码修改?

iphone - 目标文件格式无法识别、无效或不适合 xcode

JAVA - 如何从 JTree 访问 ArrayList 的对象

java - 服务器遵循 GMT 时间而不是本地时间

java - 当他/她想退出程序时如何询问用户

java - 在 Linux 和 MAC 中使用 Java 在 Chrome 中打开 URL

macos - Typesafe Stack play-scala Unresolved 依赖关系示例 OSX Homebrew 安装

ios - OS Sierra 10.12 上从终端重新签名 IPA 分段故障 11 错误