Compiles on iOS and Mac

Compiles on iOS and Mac