[cmake-developers] Xcode generator is adding old attributes on .pbxproj

Brad King brad.king at kitware.com
Fri Feb 5 10:11:24 EST 2016


On 02/05/2016 09:23 AM, Arnau Quintana wrote:
> The problem is that the .pbxproj contains some attributes that seem to be deprecated. Specifically:
> 
>   * “refType" for the “PBXFileReference" isa
>   * “buildSettings” and “buildStyles” for “PBXProject" isa
> 
> Xcode is nice enough to open the project and regenerate the .pbxproj.
> 
> If I open the project with Xcode
> 
>   * “refType” is jus removed from the .pbxproj file. Also, a new project does not contain this attribute.
>   * “buildSettings” and “buildStyles” are left there. But a new project is not creating them.
> 
> Are there any ongoing efforts to fix this?

I'm not aware of such effort, and this is the first I've seen a report
of problems like this.  Over the years I've run the entire test suite
of CMake with every version of Xcode through 7.2 and have not seen any
failure due to such content.  I don't normally develop in Xcode though.

> maybe we could remove this, as Xcode 1.5 seems to be old enough

Yes.

> If someone else is working on this, I’d gladly join efforts :) 

If you can provide a patch to fix this, then great!  I've added
Gregor Jasny to Cc because he may be interested in this too.

Thanks,
-Brad



More information about the cmake-developers mailing list