公证后MyApp打不开,因为无法确认开发者身份

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

使用 Xcode 对我的应用程序进行公证后,我的用户仍然收到错误消息:

MyApp can’t be opened because the identity of the developer cannot be confirmed.

在下载的应用程序上使用以下命令时:

codesign -dv --verbose=4 MyApp.app/
...
Signature size=8980
Authority=Developer ID Application: Codebase Media UG (haftungsbeschrankt) (LZ28YRG3Q4)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=23 May 2024 at 12:57:49
Notarization Ticket=stapled
Info.plist entries=25
TeamIdentifier=LZ28YRG3Q4
Runtime Version=14.5.0
Sealed Resources version=2 rules=13 files=30
Internal requirements count=1 size=216

我们可以看到该应用程序已经过公证和签名。

我不明白为什么当我的用户打开应用程序时会收到此消息...

xcode macos notarize flutter-macos
1个回答
0
投票

这可能是检疫问题。 如果您将应用程序作为 zip 存档分发,并且用户将 zip 从“下载”移动到“应用程序”并将其解压缩,则该应用程序将被隔离。 然而,如果用户在存档仍处于“下载”状态时将其解压缩,并使用 Finder 将应用程序移至“应用程序”,则隔离区将被删除。

您可能还想在您的应用程序上运行

spctl --assess

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