summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
-rw-r--r--xmake/rules/xcode/framework/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index 31bfcb6f6..d84a85c9e 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -137,9 +137,10 @@ rule("xcode.framework")
os.tryrm("Headers")
os.tryrm("Resources")
os.tryrm(target_filename)
+ os.tryrm("Info.plist")
os.ln("Versions/Current/Headers", "Headers")
os.ln("Versions/Current/Resources", "Resources")
- if target:is_plat("iphoneos", "watchos") then
+ if target:is_plat("iphoneos", "watchos") and os.isfile("Versions/Current/Resources/Info.plist") then
os.ln("Versions/Current/Resources/Info.plist", "Info.plist")
end
os.ln(path.join("Versions/Current", target_filename), target_filename)