summaryrefslogtreecommitdiff
path: root/tests/projects/objc/iosapp_framework_rpath/test.lua
diff options
context:
space:
mode:
authorAkaps316 <[email protected]>2026-04-05 10:27:42 +0530
committerAkaps316 <[email protected]>2026-04-05 10:27:42 +0530
commit84061455bdc813d3072afa8a998c8d049840b748 (patch)
treefd3a4be04a6d5dcc2766581e6a7e4fb7ab4e4fd1 /tests/projects/objc/iosapp_framework_rpath/test.lua
parente43e3e3ff780d130a1e1402ed9eabf0aa54c5c1d (diff)
fix(test): move import to top of test.lua per review comment
Co-authored-by: Qwen-Coder <[email protected]>
Diffstat (limited to 'tests/projects/objc/iosapp_framework_rpath/test.lua')
-rw-r--r--tests/projects/objc/iosapp_framework_rpath/test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/objc/iosapp_framework_rpath/test.lua b/tests/projects/objc/iosapp_framework_rpath/test.lua
index 41e770e68..efc69dbea 100644
--- a/tests/projects/objc/iosapp_framework_rpath/test.lua
+++ b/tests/projects/objc/iosapp_framework_rpath/test.lua
@@ -1,3 +1,5 @@
+import("utils.binary.rpath")
+
function main(t)
if not is_host("macosx") then
return t:skip("wrong host platform")
@@ -5,8 +7,6 @@ function main(t)
os.execv("xmake", {"f", "-p", "iphoneos", "-a", "arm64", "--appledev=simulator", "-c"})
os.execv("xmake", {"-vD"})
-
- import("utils.binary.rpath")
local appfile = "build/iphoneos/arm64/release/demo.app/demo"
local rpaths = rpath.list(appfile)
local found_ios = false