Split project into Cocoa and PHP components