diff options
| author | ruki <[email protected]> | 2020-06-19 23:04:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-06-19 12:24:29 +0800 |
| commit | ca1bd50cc1e0b5939311ac73c61180957763cbbc (patch) | |
| tree | cbcb328543c2d58041d8902dd8f74871aa98898a /xmake/modules/detect | |
| parent | 92dd2db73694ab13671db73194ab1e9fae1b9371 (diff) | |
support to set plat/arch for target/toolchains
Diffstat (limited to 'xmake/modules/detect')
| -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 d7eb2ddd7..3b33ab955 100644 --- a/xmake/modules/detect/sdks/find_xcode.lua +++ b/xmake/modules/detect/sdks/find_xcode.lua @@ -148,7 +148,7 @@ function main(sdkdir, opt) local arch = opt.arch or config.get("arch") or "x86_64" -- find xcode - local xcode = _find_xcode(sdkdir or config.get("xcode") or global.get("xcode") or config.get("sdk"), opt.sdkver or config.get("xcode_sdkver"), plat, arch) + local xcode = _find_xcode(sdkdir or config.get("xcode") or global.get("xcode"), opt.sdkver or config.get("xcode_sdkver"), plat, arch) if xcode and xcode.sdkdir then -- save to config @@ -166,7 +166,7 @@ function main(sdkdir, opt) else cprint("checking for the Codesign Identity of Xcode ... ${color.nothing}${text.nothing}") end - if is_plat("iphoneos") then + if plat == "iphoneos" then if xcode.mobile_provision then cprint("checking for the Mobile Provision of Xcode ... ${color.success}%s", xcode.mobile_provision) else |
