SpaceEngine code uses OpenGL graphics API, which has been abandoned by Apple since a while, and as far as I know Apple Game Porting Toolkit is a way to bridge Apple's new proprietary graphics API, Metal, to games using Microsoft DirectX graphics API, which is not useful for SE.
A code rewrite is ...