File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 3
3
import PackageDescription
4
4
import Foundation
5
5
6
- var unsupportedTests : Set < String > = [ " ObjectiveCNoBridgingStubs " ]
6
+ var unsupportedTests : Set < String > = [ ]
7
7
#if !os(macOS) && !os(iOS) && !os(watchOS) && !os(tvOS)
8
+ unsupportedTests. insert ( " ObjectiveCNoBridgingStubs " )
8
9
unsupportedTests. insert ( " ObjectiveCBridging " )
9
10
unsupportedTests. insert ( " ObjectiveCBridgingStubs " )
10
11
#endif
@@ -123,6 +124,15 @@ singleSourceDeps.append(.target(name: "ObjectiveCTests"))
123
124
#endif
124
125
125
126
targets += singleSourceLibraries. map { name in
127
+ if name == " ObjectiveCNoBridgingStubs " {
128
+ return . target(
129
+ name: name,
130
+ dependencies: singleSourceDeps,
131
+ path: " single-source " ,
132
+ sources: [ " \( name) .swift " ] ,
133
+ swiftSettings: [ . unsafeFlags( [ " -Xfrontend " ,
134
+ " -disable-swift-bridge-attr " ] ) ] )
135
+ }
126
136
return . target( name: name,
127
137
dependencies: singleSourceDeps,
128
138
path: " single-source " ,
You can’t perform that action at this time.
0 commit comments