Post marked as solved
Post marked as solved with 2 replies, 1,277 views
I have a web extension https://github.com/david-shortman/clickster
In the directory for that extension, I ran
david@Davids-Mac-mini clickster % xcrun safari-web-extension-converter .
Xcode Project Location: /Volumes/Samsung_T5/dev/GitHub/clickster
App Name: Clickster
App Bundle Identifier: com.yourCompany.Clickster
Language: Swift
Is this correct? [yes]: no
Xcode Project Location [/Volumes/Samsung_T5/dev/GitHub/clickster]:
App Name [Clickster]:
App Bundle Identifier [com.yourCompany.Clickster]: com.shortman.Clickster Swift
Objective-C
Language [1]: 1
Then, Xcode automatically opens that project.
I ran the app with the default config for "My Mac".
The extension immediately encountered this error in the default guard in ViewController here
error
error Error? domain: "SFErrorDomain" - code: 1 0x0000600002706ca0
error was thrown on line 3
guard let state = state, error == nil else {
// Insert code to inform the user that something went wrong.
return // <- breaks here
}