<div dir="ltr"><div>Somewhere starting in Xcode 4 or 5, Apple added a Team dropdown to the General tab of a target. The developer can select a development team there, which results in a bunch of useful things, most importantly: Xcode automatically updates the devices list in the Member Center and the currently fitting iOS Team Provisioning Profile. This creatly simplyfies management of development devices.</div><div><br></div><div>It would be very nice if CMake supported setting this option. A look at the project.pbxproj reveals that this setting is stored in the 'attributes' in the PBXProject section:</div><div><br></div><div>3B69B74659794A7B9F0C2B71 /* Project object */ = {</div><div>    isa = PBXProject;</div><div>    attributes = {</div><div>        BuildIndependentTargetsInParallel = YES;</div><div>        TargetAttributes = {</div><div>            26E66AE0CD2341D58DBF6E8B = {</div><div>                DevelopmentTeam = <10 character Team ID>;</div><div>            };</div><div>        };</div><div>    };</div><div>    ....</div><div><br></div><div>In the CMake source I noticed that 'BuildIndependentTargetsInParallel' is already getting set. This could be extendet to add the 'TargetAttributes' section. Note that the ID used in there (26E66AE0CD2341D58DBF6E8B in the example) is the ID of the 'main' target, i.e. the one with the name of the project.</div><div><br></div><div>The 10 character Team ID can be found by the developer in the member center under Your Account. This could be set with a CMake flag.</div><div><br></div><div>Thanks,</div><div>Fabian</div></div>