我为 MacOS 开发了一个应用程序。我将公证过程作为其分发的一部分。我已按照所有步骤操作并运行:
xcrun altool --notarize-app --primary-bundle-id "${APP_BUNDLE_ID}" --username "${APPLE_DEV_ID}" --password "${DEV_APP_SPECIFIC_PASSWORD}" --file "${DMG_PATH}"
然后我使用以下方法检查公证进度:
xcrun altool --notarization-info "${notarize_uuid}" -u "${APPLE_DEV_ID}" -p "${DEV_APP_SPECIFIC_PASSWORD}
它的输出是:
RequestUUID: =<Request>
Date: 2019-05-26 09:40:34 +0000
Status: success
LogFileURL: <Log file>
Status Code: 0
Status Message: Package Approved =~ success ]]
然后我启动装订命令:
xcrun stapler staple -v <dmg file>
它也以成功结束:
The staple and validate action worked!
但是,当我提取 .app 文件并运行时:
spctl --assess --verbose ./macos/MyApp.app
./macos/MyApp.app/: accepted
根据我读过的文档,它应该说:“source=Notarized Developer ID”,对吧?
我在 MacOS Mojave 10.14.5 上运行它
我错过了什么??
有人可以帮助我吗?
提前致谢