Modernize Xcode project; add some useful warnings