diff options
Diffstat (limited to 'xmake/toolchains/xcode/load_iphoneos.lua')
| -rw-r--r-- | xmake/toolchains/xcode/load_iphoneos.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/toolchains/xcode/load_iphoneos.lua b/xmake/toolchains/xcode/load_iphoneos.lua index 0fda9704c..c437ce975 100644 --- a/xmake/toolchains/xcode/load_iphoneos.lua +++ b/xmake/toolchains/xcode/load_iphoneos.lua @@ -29,6 +29,9 @@ function main(toolchain) local xcode_sdkver = toolchain:config("xcode_sdkver") local xcode_sysroot = toolchain:config("xcode_sysroot") + -- is simulator? + local simulator = toolchain:is_arch("x86_64", "i386") + -- init target minimal version local target_minver = toolchain:config("target_minver") if target_minver and tonumber(target_minver) > 10 and (arch == "armv7" or arch == "armv7s" or arch == "i386") then |
