From 1bccfc273af2b1d579d033324bca481e15c58653 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 29 Mar 2026 22:49:37 +0800 Subject: fix const limit on lua5.5 --- xmake/rules/xcode/application/run.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'xmake/rules/xcode/application/run.lua') diff --git a/xmake/rules/xcode/application/run.lua b/xmake/rules/xcode/application/run.lua index 249558ffc..7debb8fc4 100644 --- a/xmake/rules/xcode/application/run.lua +++ b/xmake/rules/xcode/application/run.lua @@ -61,6 +61,7 @@ function _run_on_simulator(target, opt) -- find the booted devices local name, deviceid for _, line in ipairs(list:split('\n', {plain = true})) do + local line = line if line:find("(Booted)", 1, true) then line = line:trim() name, deviceid = line:match("(.-)%s+%(([%w%-]+)%)") -- cgit v1.3.1