Index: lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp =================================================================== --- lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -1325,6 +1325,12 @@ case XcodeSDK::Type::iPhoneOS: sdks_spec.AppendPathComponent("iPhoneOS.platform"); break; + case XcodeSDK::Type::WatchSimulator: + sdks_spec.AppendPathComponent("WatchSimulator.platform"); + break; + case XcodeSDK::Type::AppleTVSimulator: + sdks_spec.AppendPathComponent("AppleTVSimulator.platform"); + break; default: llvm_unreachable("unsupported sdk"); } @@ -1567,6 +1573,14 @@ minimum_version_option.PutCString("-mmacosx-version-min="); minimum_version_option.PutCString(version.getAsString()); break; + case XcodeSDK::Type::WatchSimulator: + minimum_version_option.PutCString("-mwatchos-simulator-version-min="); + minimum_version_option.PutCString(version.getAsString()); + break; + case XcodeSDK::Type::AppleTVSimulator: + minimum_version_option.PutCString("-mtvos-version-min="); + minimum_version_option.PutCString(version.getAsString()); + break; default: llvm_unreachable("unsupported sdk"); }