summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-18 00:49:42 +0800
committerruki <[email protected]>2021-02-18 00:49:42 +0800
commit46e0f6a1adda408052ba5b87c244cedaae5f1d00 (patch)
treebe3ff982685afc14e7dab6f57d3801d2477ca629 /xmake/rules/xcode/framework/xmake.lua
parent6417f5b6b8aa784dc5a734511365597d707ce8dc (diff)
rename targetkind to kind
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
-rw-r--r--xmake/rules/xcode/framework/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua
index ed3e4b6ec..b112dcaf1 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -147,7 +147,7 @@ rule("xcode.framework")
os.cd(oldir)
-- do codesign, only for dynamic library
- if target:targetkind() == "shared" then
+ if target:kind() == "shared" then
local codesign_identity = target:values("xcode.codesign_identity") or get_config("xcode_codesign_identity")
if target:is_plat("macosx") or (target:is_plat("iphoneos") and target:is_arch("x86_64", "i386")) then
codesign_identity = nil