@@ -2282,7 +2282,7 @@ function Build-ExperimentalRuntime {
2282
2282
}
2283
2283
}
2284
2284
2285
- function Write-SDKSettingsPlist ([OS ] $OS ) {
2285
+ function Write-SDKSettings ([OS ] $OS ) {
2286
2286
$SDKSettings = @ {
2287
2287
DefaultProperties = @ {
2288
2288
}
@@ -2293,11 +2293,14 @@ function Write-SDKSettingsPlist([OS] $OS) {
2293
2293
Write-PList - Settings $SDKSettings - Path " $ ( Get-SwiftSDK $OS ) \SDKSettings.plist"
2294
2294
2295
2295
$SDKSettings = @ {
2296
- CanonicalName = $OS.ToString ()
2296
+ CanonicalName = $OS.ToString ().ToLowerInvariant()
2297
2297
DisplayName = $OS.ToString ()
2298
- IsBaseSDK = " NO "
2298
+ IsBaseSDK = " YES "
2299
2299
Version = " ${ProductVersion} "
2300
2300
VersionMap = @ {}
2301
+ HeaderSearchPaths = @ ( " usr/include" );
2302
+ LibrarySearchPaths = @ ();
2303
+ Toolchains = @ ( " ${ToolchainIdentifier} " );
2301
2304
DefaultProperties = @ {
2302
2305
PLATFORM_NAME = $OS.ToString ()
2303
2306
DEFAULT_COMPILER = " ${ToolchainIdentifier} "
@@ -3230,7 +3233,7 @@ if (-not $SkipBuild) {
3230
3233
3231
3234
Install-Platform $WindowsSDKPlatforms Windows
3232
3235
Write-PlatformInfoPlist Windows
3233
- Write-SDKSettingsPlist Windows
3236
+ Write-SDKSettings Windows
3234
3237
3235
3238
if ($Android ) {
3236
3239
foreach ($Platform in $AndroidSDKPlatforms ) {
@@ -3245,7 +3248,7 @@ if (-not $SkipBuild) {
3245
3248
3246
3249
Install-Platform $AndroidSDKPlatforms Android
3247
3250
Write-PlatformInfoPlist Android
3248
- Write-SDKSettingsPlist Android
3251
+ Write-SDKSettings Android
3249
3252
3250
3253
# Android swift-inspect only supports 64-bit platforms.
3251
3254
$AndroidSDKPlatforms | Where-Object { @ (" arm64-v8a" , " x86_64" ) -contains $_.Architecture.ABI } | ForEach-Object {
0 commit comments