Browse Source

Updating xcode config. (#2198)

Changing the xcode platform to just `Native`. This lets xcode handle
all the target stuff, and works regardless of target.
Johan Sköld 5 years ago
parent
commit
74aae908ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/genie.lua

+ 2 - 2
scripts/genie.lua

@@ -122,9 +122,9 @@ solution "bgfx"
 		"Release",
 	}
 
-	if _ACTION ~= nil and _ACTION:match "xcode*" then
+	if _ACTION ~= nil and _ACTION:match "^xcode" then
 		platforms {
-			"Universal",
+			"Native", -- let xcode decide based on the target output
 		}
 	else
 		platforms {