We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e21cddb + a0b6af1 commit d85e58fCopy full SHA for d85e58f
lldb/packages/Python/lldbsuite/test/lldbutil.py
@@ -22,6 +22,7 @@
22
# LLDB modules
23
import lldb
24
from . import lldbtest_config
25
+from . import configuration
26
27
# How often failed simulator process launches are retried.
28
SIMULATOR_RETRY = 3
@@ -63,6 +64,11 @@ def mkdir_p(path):
63
64
# ============================
65
66
def get_xcode_sdk(os, env):
67
+ # Respect --apple-sdk <path> if it's specified. If the SDK is simply
68
+ # mounted from some disk image, and not actually installed, this is the
69
+ # only way to use it.
70
+ if configuration.apple_sdk:
71
+ return configuration.apple_sdk
72
if os == "ios":
73
if env == "simulator":
74
return "iphonesimulator"
0 commit comments