Notarization Warning Messages on M1 Mac
-
- Hise new layout branch (from 31 Oct 2021)
- Exported plugin: arm64, arm64e and x86_64 universal binary without ipp
- XCode 12.4
- macOS Big Sur
- Mac Mini M1 2020
While notarizing the .pkg installer, after inserting the notarization command into the Terminal, I get this warning message:
altool[3097:63554] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
Then the upload and notarization with seems to be completed successfully, but I still see this warning on each notarization attempt.
Also when I check the notarization with
spctl -a -vvv -t install
, I get the messages below. I am using the same codes that I've been using in Catalina but I never see these warnings there. Any ideas?objc[3203]: Class SPExecutionPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class AppWrapper is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class AppWrapperPolicyResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class AppWrapperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class SPLog is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class MIS is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class SPExecutionHistoryItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class SPExecutionPolicyItem is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class SPDeveloperPolicy is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined. objc[3203]: Class GKScanResult is implemented in both /System/Library/PrivateFrameworks/SystemPolicy.framework/Versions/A/SystemPolicy and /usr/sbin/spctl. One of the two will be used. Which one is undefined.
-
@orange said in Notarization Warning Messages on M1 Mac:
CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
I got the same error. After hitting the web, it seems to be an erroneous error message.
This is log noise and is not affecting the upload or functionality of the Notary service. You can ignore this log message. One test that you can run to validate this further is to run a --list-providers or a --notarization-history subcommand and if this also succeeds then you know that your authentication requests are in good shape.
I also found that there is a new Notarizing tool from apple called notarytool. This what they are recommending to use for Xcode13
Notarize a Command Line Tool with notarytool
When Apple introduced notarization with Catalina, I published a post describing how to notarize a command line tool. At WWDC this year, Apple introduced updates to this process with Xcode 13 (currently in beta). Most importantly, there is a new command line tool called notarytool. While the previous, altool-based, workflow still works in Xcode 13,…
Scripting OS X (scriptingosx.com)
# Submit for notarization % xcrun notarytool submit "my/path/to/app.zip" --key ~/key/path/unique_key.p8 --key-id unique_key_id --issuer issuer_id --verbose # Check info % xcrun notarytool info submission_id --key ~/key/path/unique_key.p8 --key-id unique_key_id --issuer issuer_id --verbose
-
@dustbro said in Notarization Warning Messages on M1 Mac:
@orange said in Notarization Warning Messages on M1 Mac:
CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
I got the same error. After hitting the web, it seems to be an erroneous error message.
So we should ignore this message, right?
I also found that there is a new Notarizing tool from apple called notarytool. This what they are recommending to use for Xcode13
It looks useful. Also a batch sequence notarization tool would be awesome for multiple notarizations :)
-
@orange said in Notarization Warning Messages on M1 Mac:
So we should ignore this message, right?
I believe so. Do you want to send me a binary to test? I can see how it reacts on my mac.
-
@dustbro It would be great, as soon as I prepare I'll send you mate