@cvetan5 Should this have a `if (APPLE)`? It might just fail gracefully on other platforms but we probably want to avoid running it.