From c091d7b4d8f13ed4b17d23df8867ec30e8003c4c Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 7 Apr 2025 22:36:14 +0800 Subject: remove across_targets_in_parallel policy --- xmake/rules/xcode/application/xmake.lua | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'xmake/rules/xcode/application/xmake.lua') diff --git a/xmake/rules/xcode/application/xmake.lua b/xmake/rules/xcode/application/xmake.lua index b4969b3df..7d5edc668 100644 --- a/xmake/rules/xcode/application/xmake.lua +++ b/xmake/rules/xcode/application/xmake.lua @@ -27,19 +27,6 @@ rule("xcode.application") -- we must set kind before target.on_load(), may we will use target in on_load() on_load("load") - -- depend xcode.framework? we need to disable `build.across_targets_in_parallel` policy - after_load(function (target) - local across_targets_in_parallel - for _, dep in ipairs(target:orderdeps()) do - if dep:rule("xcode.framework") then - across_targets_in_parallel = false - end - end - if across_targets_in_parallel ~= nil then - target:set("policy", "build.across_targets_in_parallel", across_targets_in_parallel) - end - end) - -- build *.app after_build("build") -- cgit v1.3.1