summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/src/actions/xcode/xcode_project.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/genie/src/actions/xcode/xcode_project.lua')
-rw-r--r--3rdparty/genie/src/actions/xcode/xcode_project.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/3rdparty/genie/src/actions/xcode/xcode_project.lua b/3rdparty/genie/src/actions/xcode/xcode_project.lua
index 549fea12762..8c6e9646dc0 100644
--- a/3rdparty/genie/src/actions/xcode/xcode_project.lua
+++ b/3rdparty/genie/src/actions/xcode/xcode_project.lua
@@ -58,6 +58,15 @@
end
})
+ -- fix .xcassets files, they should be treated as a file, not a folder
+ tree.traverse(tr, {
+ onbranch = function(node)
+ if path.getextension(node.name) == ".xcassets" then
+ node.children = {}
+ end
+ end
+ })
+
-- the special folder "Frameworks" lists all linked frameworks
tr.frameworks = tree.new("Frameworks")
for cfg in premake.eachconfig(prj) do
@@ -118,6 +127,9 @@
if string.endswith(node.name, "Info.plist") then
tr.infoplist = node
end
+ if string.endswith(node.name, ".entitlements") then
+ tr.entitlements = node
+ end
end
}, true)