summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/load_iphoneos.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/toolchains/xcode/load_iphoneos.lua')
-rw-r--r--xmake/toolchains/xcode/load_iphoneos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/xcode/load_iphoneos.lua b/xmake/toolchains/xcode/load_iphoneos.lua
index 3aeb78672..842064cb7 100644
--- a/xmake/toolchains/xcode/load_iphoneos.lua
+++ b/xmake/toolchains/xcode/load_iphoneos.lua
@@ -25,7 +25,7 @@ import("core.project.config")
function main(toolchain)
-- init architecture
- local arch = config.get("arch") or "arm64"
+ local arch = toolchain:arch()
local simulator = (arch == "i386" or arch == "x86_64")
-- init platform name