diff options
| author | ruki <[email protected]> | 2021-05-15 00:45:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-15 00:45:01 +0800 |
| commit | afdbc1e7ecd6815e807901d573749a6224311545 (patch) | |
| tree | d95dd13e93802e6a561f3569613e2196f917bac4 /xmake/modules/detect/sdks/find_xcode.lua | |
| parent | 901c937daf4e72aac6de2019f1107ba0b885ee1b (diff) | |
improve and fix find codesign
Diffstat (limited to 'xmake/modules/detect/sdks/find_xcode.lua')
| -rw-r--r-- | xmake/modules/detect/sdks/find_xcode.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/detect/sdks/find_xcode.lua b/xmake/modules/detect/sdks/find_xcode.lua index 02ea606bf..b78bc29c3 100644 --- a/xmake/modules/detect/sdks/find_xcode.lua +++ b/xmake/modules/detect/sdks/find_xcode.lua @@ -82,10 +82,11 @@ function _find_xcode(sdkdir, opt) end -- find codesign + local codesign_identity, mobile_provision if opt.find_codesign then -- find codesign identity - local codesign_identity = config.get("xcode_codesign_identity") + codesign_identity = config.get("xcode_codesign_identity") if codesign_identity == nil then -- we will disable codesign_identity if be false codesign_identity = global.get("xcode_codesign_identity") end @@ -100,7 +101,6 @@ function _find_xcode(sdkdir, opt) end -- find mobile provision only for iphoneos - local mobile_provision if opt.plat == "iphoneos" then local mobile_provisions = codesign.mobile_provisions() if mobile_provisions then |
