Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
SCContentFilter init error
I managed to find a workaround:
Call CGMainDisplayID(); before initalizing the filter. Tested both in Swift and Objective-c.
According to https://github.com/JXA-Cookbook/JXA-Cookbook/issues/27#issuecomment-277517668 its because Core Graphics is not initialized, and CGMainDisplayID does this.