From 59cf59db314becf523fea2b840d7a237c2f6f246 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Mon, 24 Nov 2014 15:49:45 +0100 Subject: Disable file-transfer support for iOS. iOS SDK does not have net/route.h interface as part of its public API. File-transfer requires UPnP/NAT-PMP for a good user experience which in turn require detection of the default gateway/router. Disabiling file-transfer support for iOS until we know a valid way to detect the default gateway/router on iOS. Test-Information: Tested against iPhone/iPhoneSimulator8.1 SDKs. Change-Id: I1303f37c025e8c6309acefcd80b9b30a3ac18fbb diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot index acd1272..00242fe 100644 --- a/BuildTools/SCons/SConscript.boot +++ b/BuildTools/SCons/SConscript.boot @@ -270,6 +270,10 @@ if env.get("mac106", 0) : if not env["assertions"] : env.Append(CPPDEFINES = ["NDEBUG"]) +# disable file-transfer support on iOS +if env["target"] in ["iphone-device", "iphone-simulator", "xcode"] : + env["experimental_ft"] = False + if env["experimental_ft"] : env.Append(CPPDEFINES = ["SWIFT_EXPERIMENTAL_FT"]) -- cgit v0.10.2-6-g49f6