diff options
| author | ruki <[email protected]> | 2020-11-13 22:53:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-13 22:53:28 +0800 |
| commit | dc9d1b09583397e37f353f2d8bb6fe45bf5dfbed (patch) | |
| tree | 490d6a6bbec0e810193103d208994bd5eb2b4383 /xmake/rules/xcode | |
| parent | 348ec88643e244d812d17ad91885d43b4e133c3c (diff) | |
improve framework again
Diffstat (limited to 'xmake/rules/xcode')
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 3 |
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) |
