Notarization warning

Hi, I do the following command to notarize an application.

sudo xcrun altool --notarize-app --primary-bundle-id “xxxxx” --username “xxxx@xxxx” --password “xxxx-xxxx-xxxx-xxxx” --file  xxxxxx.zip(application)

Then the following warnings are shown. But the notarization succeeds.


objc[853]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x208b24188) and ?? (0x113f3c2b8). One of the two will be used. Which one is undefined.

objc[853]: Class AMSupportURLSession is implemented in both ?? (0x208b241d8) and ?? (0x113f3c308). One of the two will be used. Which one is undefined.

CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called

Why do the warnings occur? Can I ignore these?

OS 11.2.2 Xcode 12.4

Answered by Systems Engineer in 677003022

CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called Why do the warnings occur? Can I ignore these?

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.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Accepted Answer

CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called Why do the warnings occur? Can I ignore these?

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.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

I wanted to follow up on this and mention that you should take a look at the new notarytool, introduced in the session for Faster and simpler notarization for Mac apps. I suspect that these log messages may be gone when using this new tool.

# 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
Matt Eaton
DTS Engineering, CoreOS
meaton@apple.com
Notarization warning
 
 
Q