Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
74aae908ce
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      scripts/genie.lua

+ 2 - 2
scripts/genie.lua

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