CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called

Viewed 3498

I am having a flutter project in which I have to get the IOS version. When I try Flutter->Build IOS in Android studio am getting the below error message.

"CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called"

enter image description here

2 Answers

I had similar issue, for me solution was:

flutter config  --clear-ios-signing-cert

And after running:

flutter run

Select relevant provisioning profile.

Ignore this:

CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called

This is just log noise as stated by Apple Developer Quinn here: https://developer.apple.com/forums/thread/657090?page=2

If notarisation is working for you but you’re concerned about the CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke log message, don’t worry. I can assure you that this is just log noise.

This will be thrown no matter what you do, especially on new macOS (big sur). For the other issue follow peterSweters answer.

Related