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
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