View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014093CMakeCMakepublic2013-04-16 12:582013-10-21 08:52
ReporterJamie Snape 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformAppleOSOS XOS Version10.8
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0014093: Xcode 4.6 ignores "lastKnownFileType" for .txx files
DescriptionCreateXCodeFileReferenceFromPath in Source/cmGlobalXCodeGenerator.cxx (line 885) is writing the attribute "lastKnownFileType" to set the file type for a given file extension. However, for .txx files, Xcode 4.6 is ignoring that attribute and setting the file type to "plain text" when the project is opened. If instead of "lastKnownFileType", the attribute "explicitFileType" is written, then the problem is resolved, i.e., change

fileRef->AddAttribute("lastKnownFileType",
                        this->CreateString(sourcecode.c_str()));

to

fileRef->AddAttribute("explicitFileType",
                        this->CreateString(sourcecode.c_str()));
TagsNo tags attached.
Attached Files

 Relationships
related to 0014498closedBrad King Folder references aren't added correctly to Xcode projects. 

  Notes
(0032897)
Brad King (manager)
2013-04-17 10:33

Thanks, fixed:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56831461 [^]

The explicitFileType was already used elsewhere and appears to work way back in Xcode 1.5 too.
(0034035)
Robert Maynard (manager)
2013-10-07 10:09

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-04-16 12:58 Jamie Snape New Issue
2013-04-17 10:33 Brad King Note Added: 0032897
2013-04-17 10:33 Brad King Assigned To => Brad King
2013-04-17 10:33 Brad King Status new => resolved
2013-04-17 10:33 Brad King Resolution open => fixed
2013-10-07 10:09 Robert Maynard Note Added: 0034035
2013-10-07 10:09 Robert Maynard Status resolved => closed
2013-10-21 08:52 Brad King Relationship added related to 0014498


Copyright © 2000 - 2018 MantisBT Team