Fixed some Clang warnings
Upgraded Xcode projects to recommended settings