Probably will try to make a pull request, but got this in master:

@ptmt Can you give us a bit more context on this? Did you come across this issue just by trying to build the library for a macOS target?
Sorry for such an unprofessional way to create an issue. I was building the default target but with the enabled option in Xcode 11:

I managed to build it in the end by using many #if TARGET_OS_UIKITFORMAC, but not sure what's the right way here, I guess I need some time to experiment.
Yea, that sounds like a cool experiment! As I understand it well, there is API differences between the iOS versions and the iPadOS/MacOS, hence the compiler complains. Let us know how it goes, for now, let's close this issue?
Sure. Thanks!
On 25 Jun 2019, 19:44 +0300, Zhisheng Huang notifications@github.com, wrote:
Yea, that sounds like a cool experiment! As I understand it well, there is API differences between the iOS versions and the iPadOS/MacOS, hence the compiler complains. Let us know how it goes, for now, let's close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Most helpful comment
Sorry for such an unprofessional way to create an issue. I was building the default target but with the enabled option in Xcode 11:
I managed to build it in the end by using many
#if TARGET_OS_UIKITFORMAC, but not sure what's the right way here, I guess I need some time to experiment.