summaryrefslogtreecommitdiff
path: root/tests/projects/objc/iosapp_framework_rpath/test.lua
diff options
context:
space:
mode:
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