WebKit WKWebView sample not working on MacOS

I'm referring to

https://developer.apple.com/reference/webkit/wkwebview


The sample given by Apple is not quite working on macOS. Works perfectly on iOS though.

Both compile fine but when I run it on macOS it gives an error in console:


CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 3. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.


It's a brand new project and all settings are default. I'm not using any XML or Language files...

Replies

I’m confused by your post; are you referring to Listing 1 on the page you referenced? I think not — that’s not going to work on macOS at all because it’s based on UIViewController — but if not that then what?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"