File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -323,8 +323,20 @@ extension LLBuildManifestBuilder {
323
323
// product into its constituent targets.
324
324
continue
325
325
}
326
+ guard target. underlyingTarget. type != . systemModule,
327
+ target. underlyingTarget. type != . binary else {
328
+ // Much like non-Swift targets, system modules will consist of a modulemap
329
+ // somewhere in the filesystem, with the path to that module being either
330
+ // manually-specified or computed based on the system module type (apt, brew).
331
+ // Similarly, binary targets will bring in an .xcframework, the contents of
332
+ // which will be exposed via search paths.
333
+ //
334
+ // In both cases, the dependency scanning action in the driver will be automatically
335
+ // be able to detect such targets' modules.
336
+ continue
337
+ }
326
338
guard let description = plan. targetMap [ target] else {
327
- fatalError ( " Expected description for target: \( target) " )
339
+ fatalError ( " Expected description for target \( target) " )
328
340
}
329
341
switch description {
330
342
case . swift( let desc) :
You can’t perform that action at this time.
0 commit comments