I want to use the new signpost logging framework in a cross-platform library. At the moment the library works with 4.1 and 4.2 on 10.12+ and I would like to keep it that way for as long as possible.
If I try and wrap the signpost code with canImport(os.signal) the compiler barfs. Just testing canImport(os) is not enough... Any bright ideas how I can do this?
Do people think this is a bug?
1 Like
ApolloZhu
(Apollo/朱智语)
2
There's now an active pull request and a forum post trying to fix this.