Set Xcode project up properly

- fixed corresponding build issues/compiler warnings

Signed-off-by: Stefan Marr <git@stefan-marr.de>