Bug 3056381: Xcode project breaks on special chars

This commit is contained in:
Jason Perkins 2010-09-05 14:47:42 -04:00
parent f23521550f
commit 8e84aa4efe
4 changed files with 30 additions and 29 deletions

View File

@ -13,6 +13,7 @@
* Patch 3011940: Add support for MFC (JTAnderson)
* Patch 3053959: kind() crashes when called with no arguments (rjmyst3)
* Bug 2997728: Project dependencies should be case-sensitive
* Bug 3056381: Xcode project breaks on special chars
* Fixed handling of icons in Xcode (bitshifter)
* Added imagepath to set Xbox360 image file name (Jarod)

View File

@ -389,7 +389,7 @@
if node.parent == tr.projects then
_p(3,'name = Products;')
else
_p(3,'name = %s;', node.name)
_p(3,'name = "%s";', node.name)
if node.path then
local p = node.path
if node.parent.path then
@ -440,7 +440,7 @@
end
_p(3,');')
_p(3,'name = %s;', name)
_p(3,'name = "%s";', name)
local p
if node.cfg.kind == "ConsoleApp" then
@ -452,7 +452,7 @@
_p(3,'productInstallPath = "%s";', p)
end
_p(3,'productName = %s;', name)
_p(3,'productName = "%s";', name)
_p(3,'productReference = %s /* %s */;', node.id, node.name)
_p(3,'productType = "%s";', xcode.getproducttype(node))
_p(2,'};')

View File

@ -174,7 +174,7 @@
[Products] /* Products */,
[Projects] /* Projects */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Products] /* Products */ = {
@ -182,7 +182,7 @@
children = (
[MyProject:product] /* MyProject */,
);
name = Products;
name = "Products";
sourceTree = "<group>";
};
[Projects] /* Projects */ = {
@ -190,7 +190,7 @@
children = (
[MyProject2.xcodeproj] /* MyProject2.xcodeproj */,
);
name = Projects;
name = "Projects";
sourceTree = "<group>";
};
[MyProject2.xcodeproj:prodgrp] /* Products */ = {
@ -228,9 +228,9 @@
dependencies = (
[MyProject2.xcodeproj:targdep] /* PBXTargetDependency */,
);
name = MyProject;
name = "MyProject";
productInstallPath = "$(HOME)/bin";
productName = MyProject;
productName = "MyProject";
productReference = [MyProject:product] /* MyProject */;
productType = "com.apple.product-type.tool";
};

View File

@ -268,7 +268,7 @@
children = (
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Products] /* Products */ = {
@ -276,7 +276,7 @@
children = (
[MyProject:product] /* MyProject */,
);
name = Products;
name = "Products";
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -296,7 +296,7 @@
[source.h] /* source.h */,
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Products] /* Products */ = {
@ -304,7 +304,7 @@
children = (
[MyProject:product] /* MyProject */,
);
name = Products;
name = "Products";
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -324,7 +324,7 @@
[include] /* include */,
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[include] /* include */ = {
@ -332,7 +332,7 @@
children = (
[premake] /* premake */,
);
name = include;
name = "include";
path = include;
sourceTree = "<group>";
};
@ -341,7 +341,7 @@
children = (
[source.h] /* source.h */,
);
name = premake;
name = "premake";
path = premake;
sourceTree = "<group>";
};
@ -363,7 +363,7 @@
[test.h] /* test.h */,
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Products] /* Products */ = {
@ -371,7 +371,7 @@
children = (
[MyProject:product] /* MyProject */,
);
name = Products;
name = "Products";
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -392,7 +392,7 @@
[MainMenu.xib] /* MainMenu.xib */,
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Products] /* Products */ = {
@ -400,7 +400,7 @@
children = (
[MyProject:product] /* MyProject */,
);
name = Products;
name = "Products";
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -420,7 +420,7 @@
[Frameworks] /* Frameworks */,
[Products] /* Products */,
);
name = MyProject;
name = "MyProject";
sourceTree = "<group>";
};
[Frameworks] /* Frameworks */ = {
@ -428,7 +428,7 @@
children = (
[Cocoa.framework] /* Cocoa.framework */,
);
name = Frameworks;
name = "Frameworks";
sourceTree = "<group>";
};
]]
@ -456,9 +456,9 @@
);
dependencies = (
);
name = MyProject;
name = "MyProject";
productInstallPath = "$(HOME)/bin";
productName = MyProject;
productName = "MyProject";
productReference = [MyProject:product] /* MyProject */;
productType = "com.apple.product-type.tool";
};
@ -485,9 +485,9 @@
);
dependencies = (
);
name = MyProject;
name = "MyProject";
productInstallPath = "$(HOME)/Applications";
productName = MyProject;
productName = "MyProject";
productReference = [MyProject.app:product] /* MyProject.app */;
productType = "com.apple.product-type.application";
};
@ -514,8 +514,8 @@
);
dependencies = (
);
name = MyProject;
productName = MyProject;
name = "MyProject";
productName = "MyProject";
productReference = [libMyProject.dylib:product] /* libMyProject.dylib */;
productType = "com.apple.product-type.library.dynamic";
};
@ -547,9 +547,9 @@
);
dependencies = (
);
name = MyProject;
name = "MyProject";
productInstallPath = "$(HOME)/bin";
productName = MyProject;
productName = "MyProject";
productReference = [MyProject:product] /* MyProject */;
productType = "com.apple.product-type.tool";
};