@@ -1096,7 +1096,7 @@ import SWBMacro
1096
1096
let arch32 = try #require( Architecture . host. as32bit. stringValue)
1097
1097
let arch64 = try #require( Architecture . host. as64bit. stringValue)
1098
1098
1099
- let destinations : [ RunDestinationInfo ] = [ . macOS, . macCatalyst, . iOS, . iOSSimulator, . tvOS, . tvOSSimulator, . watchOS, . watchOSSimulator, . linux] . filter { core. sdkRegistry. lookup ( $0. sdk) != nil }
1099
+ let destinations : [ RunDestinationInfo ] = [ . macOS, . macCatalyst, . iOS, . iOSSimulator, . tvOS, . tvOSSimulator, . watchOS, . watchOSSimulator, . xrOS , . xrOSSimulator , . linux] . filter { core. sdkRegistry. lookup ( $0. sdk) != nil }
1100
1100
1101
1101
for destination in destinations {
1102
1102
let parameters = BuildParameters ( action: . build, configuration: " Debug " , activeRunDestination: destination, overrides: [ " SDKROOT " : destination. sdk, " SDK_VARIANT " : destination. sdkVariant ?? " " ] )
@@ -1146,7 +1146,7 @@ import SWBMacro
1146
1146
let project = context. workspace. projects [ 0 ]
1147
1147
let target = project. targets [ 0 ]
1148
1148
1149
- let destinations : [ RunDestinationInfo ] = [ . macOS, . macCatalyst, . iOS, . iOSSimulator, . tvOS, . tvOSSimulator, . watchOS, . watchOSSimulator, . driverKit, . linux] . filter { core. sdkRegistry. lookup ( $0. sdk) != nil }
1149
+ let destinations : [ RunDestinationInfo ] = [ . macOS, . macCatalyst, . iOS, . iOSSimulator, . tvOS, . tvOSSimulator, . watchOS, . watchOSSimulator, . xrOS , . xrOSSimulator , . driverKit, . linux] . filter { core. sdkRegistry. lookup ( $0. sdk) != nil }
1150
1150
1151
1151
for destination in destinations {
1152
1152
let parameters = BuildParameters ( action: . build, configuration: " Debug " , activeRunDestination: destination, overrides: [ " SDKROOT " : destination. sdk, " SDK_VARIANT " : destination. sdkVariant ?? " " ] )
@@ -1170,6 +1170,8 @@ import SWBMacro
1170
1170
#expect( try scope. evaluate ( scope. namespace. declareStringMacro ( " RECOMMENDED_TVOS_DEPLOYMENT_TARGET " ) ) == " 15.0 " )
1171
1171
case . watchOS, . watchOSSimulator:
1172
1172
#expect( try scope. evaluate ( scope. namespace. declareStringMacro ( " RECOMMENDED_WATCHOS_DEPLOYMENT_TARGET " ) ) == " 8.0 " )
1173
+ case . xrOS, . xrOSSimulator:
1174
+ #expect( try scope. evaluate ( scope. namespace. declareStringMacro ( " RECOMMENDED_XROS_DEPLOYMENT_TARGET " ) ) == " 1.0 " )
1173
1175
case . driverKit:
1174
1176
#expect( try scope. evaluate ( scope. namespace. declareStringMacro ( " RECOMMENDED_DRIVERKIT_DEPLOYMENT_TARGET " ) ) == " 20.0 " )
1175
1177
case . linux:
0 commit comments