One thing that can cause delegate methods to never be called is if there’s been some sort of exception thrown, one that doesn’t crash the app but causes SDK internals to get all mucked up. Do you have a catch all Objc exception breakpoint set? I can imaging if the path to the volume is getting mangled and everything ‘seems’ ok that some call is failing and causing your delegate reference to fail.
toggle quoted messageShow quoted text
On Oct 16, 2017, at 07:46, Gerriet M. Denkmann <firstname.lastname@example.org> wrote:
When I start my sandboxed app, I get lots of messages like:
“could not create “/Volumes/à¹à¸¡à¹à¸/Users/gerriet/Library/Containers/….”."
Of course there is no disk-partition called “à¹à¸¡à¹à¸”.
And when I check “/Volumes/เม่น/Users/gerriet/Library/Containers/….” all complained about folders have been created.
So far so confusing.
But when I do [ wkWebView loadHTMLString: … ] I see again:
“could not create “/Volumes/à¹à¸¡à¹à¸/Users/gerriet/Library/Containers/de.mdenkmann.TestViewsMac/Data/Library/Caches/WebKit/NetworkCache”"
and then nothing happens - no delegate method is ever called and the view remains blank.
Any idea what I am doing wrong?
P.S. works fine without sandboxing. And WebView works with or without sandboxing.