summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/xrepo/action/install.lua2
-rw-r--r--xmake/platforms/macosx/xmake.lua2
2 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/install.lua b/xmake/modules/private/xrepo/action/install.lua
index 90aff97ca..dfcaadf80 100644
--- a/xmake/modules/private/xrepo/action/install.lua
+++ b/xmake/modules/private/xrepo/action/install.lua
@@ -75,7 +75,7 @@ function menu_options()
{nil, "xcode", "kv", nil, "The Xcode Application Directory" },
{nil, "xcode_sdkver", "kv", nil, "The SDK Version for Xcode" },
{nil, "target_minver", "kv", nil, "The Target Minimal Version" },
- {nil, "appledev", "kv", nil, "The Apple Device Type" },
+ {nil, "appledev", "kv", nil, "The Apple Device Type", values = {"simulator", "iphone", "watchtv", "appletv", "catalyst"}},
{category = "Debug Configuration" },
{'d', "debugdir", "kv", nil, "The source directory of the current package for debugging. It will enable --force/--shallow by default."},
{category = "Other Configuration" },
diff --git a/xmake/platforms/macosx/xmake.lua b/xmake/platforms/macosx/xmake.lua
index 298e6dd2d..243908c56 100644
--- a/xmake/platforms/macosx/xmake.lua
+++ b/xmake/platforms/macosx/xmake.lua
@@ -53,6 +53,8 @@ platform("macosx")
, {nil, "xcode_codesign_identity", "kv", "auto", "The Codesign Identity for Xcode" }
, {nil, "xcode_mobile_provision", "kv", "auto", "The Mobile Provision for Xcode" }
, {nil, "target_minver", "kv", "auto", "The Target Minimal Version" }
+ , {nil, "appledev", "kv", nil, "The Apple Device Type",
+ values = {"simulator", "iphone", "watchtv", "appletv", "catalyst"}}
, {category = "Cuda SDK Configuration" }
, {nil, "cuda", "kv", "auto", "The Cuda SDK Directory" }
, {category = "Qt SDK Configuration" }