首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >jpackage pkg codesign -- appstore提交错误

jpackage pkg codesign -- appstore提交错误
EN

Stack Overflow用户
提问于 2020-10-28 21:27:15
回答 1查看 191关注 0票数 3

我主要是按照这个代码签名和公证说明

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

即检查每个.dylib和jars并对它们进行签名。最后,在整个包上签名并进行公证。

Pkg创建和公证成功,但由于以下错误导致无法提交到App Store。我绝对可以在我的Mac上运行这个pkg,没有任何问题。

第3项是什么意思?我从哪里获得第三方证书?或者我需要做什么..。

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

注意到在公证后绑定了Info.plist=not,也许这指向协同设计没有正确完成?

提前谢谢。

代码语言:javascript
复制
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."
=========
EN

回答 1

Stack Overflow用户

发布于 2020-11-16 17:59:35

在我的例子中(错误ITMS-90237),过期的证书没有从密钥链中删除。(新的由XCode自动生成)

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64573860

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档