1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Check for ios_simulator when building for x86_64

This commit is contained in:
Ted Spikes
2022-09-11 09:21:41 +00:00
parent 22a09fef5d
commit 21f7bd0723

View File

@@ -120,6 +120,10 @@ def configure(env):
env.Append(CCFLAGS=["-miphoneos-version-min=11.0"]) env.Append(CCFLAGS=["-miphoneos-version-min=11.0"])
if env["arch"] == "x86_64": if env["arch"] == "x86_64":
if not env["ios_simulator"]:
print("ERROR: Building for iOS with 'arch=x86_64' requires 'ios_simulator=yes'.")
sys.exit(255)
env["ENV"]["MACOSX_DEPLOYMENT_TARGET"] = "10.9" env["ENV"]["MACOSX_DEPLOYMENT_TARGET"] = "10.9"
env.Append( env.Append(
CCFLAGS=( CCFLAGS=(