Use the official SDL framework. The VBoxSDLMain-darwin.m/h are copied from the devel-lite directory of SDL-1.2.12.dmg and only the #include statement was changed.