diff --git a/scripts/genie.lua b/scripts/genie.lua index 357e40db2..6103b099c 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -122,7 +122,7 @@ solution "bgfx" "Release", } - if _ACTION:match "xcode*" then + if _ACTION ~= nil and _ACTION:match "xcode*" then platforms { "Universal", }