summaryrefslogtreecommitdiff
path: root/xmake/rules/xcode/framework/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-20 22:35:32 +0800
committerruki <[email protected]>2022-09-20 22:35:32 +0800
commit59a3ef6f88dbcadcc6c79236761fc17f7a334613 (patch)
tree08ced2dd0db2e0400009066e9ed08df587b9284c /xmake/rules/xcode/framework/xmake.lua
parentaff68aac2686a411698b2f44c506fb227bed3d59 (diff)
improve call
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 643a278b8..86a5a4827 100644
--- a/xmake/rules/xcode/framework/xmake.lua
+++ b/xmake/rules/xcode/framework/xmake.lua
@@ -157,7 +157,7 @@ rule("xcode.framework")
end
-- do codesign, only for dynamic library
- if target:kind() == "shared" then
+ if target:is_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