We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dd37a6 + b6ba63e commit 3fbd469Copy full SHA for 3fbd469
xmake/rules/xcode/application/build.lua
@@ -56,14 +56,14 @@ function main (target, opt)
56
-- copy dependent dynamic libraries and frameworks
57
for _, dep in ipairs(target:orderdeps()) do
58
if dep:kind() == "shared" then
59
+ if not os.isdir(frameworksdir) then
60
+ os.mkdir(frameworksdir)
61
+ end
62
local frameworkdir = dep:data("xcode.bundle.rootdir")
63
if dep:rule("xcode.framework") and frameworkdir then
- if not os.isdir(frameworkdir) then
- os.mkdir(frameworksdir)
- end
64
os.cp(frameworkdir, frameworksdir, {symlink = true})
65
else
66
- os.vcp(dep:targetfile(), binarydir)
+ os.vcp(dep:targetfile(), frameworksdir)
67
end
68
69
0 commit comments