[CMake] CMake and Code Signing in XCode 8 for iOS projects

Frank cmake at deinzer.biz
Sat Nov 19 15:56:42 EST 2016


Hi all,

CMake was able to configure automatic code signing for XCode <=7 and iOS 
projects with a target property setting like

set_target_properties(app PROPERTIES XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY 
"PROPER IDENTIFIER")

XCode 8 changed the signing process. It now is required that the option 
"Automatically manage signing" in the project settings "General tab -> 
Signing" is checked. If I check this options manually for a cmake 
generated project, signing works well. But I did not find a way to 
enable this option from the cmake project by default. Can this be done 
for cmake (>=3.7.0)?

Thanks for any help,
Frank


More information about the CMake mailing list