fixed project to build on latest Xcode