Tested using Junction and other projects in Xcode 8.1. Not sure why anyone would need a more complex iOS.cmake than this. To deploy on iPhone, you need to manually set the Team in Target Settings -> General -> Signing, but that's normal for the latest Xcode: https://cmake.org/pipermail/cmake-developers/2014-October/023388.html