An import MacOS was missing after the code-rearranging. Added.
1 file changed