File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/PublicModules/PADProjectBuilder/SwiftInterfaceProducer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ struct XcodeTools {
23
23
24
24
internal enum Constants {
25
25
static let derivedDataPath : String = " .build "
26
+ static let buildDirPath : String = " .build/Build "
26
27
static let simulatorSdkCommand = " xcrun --sdk iphonesimulator --show-sdk-path "
27
28
}
28
29
@@ -87,16 +88,15 @@ struct XcodeTools {
87
88
88
89
let result = shell. execute ( command)
89
90
let derivedDataPath = " \( projectDirectoryPath) / \( Constants . derivedDataPath) "
91
+ let buildDirPath = " \( projectDirectoryPath) / \( Constants . buildDirPath) "
90
92
91
93
logger? . debug ( result, from: String ( describing: Self . self) )
92
94
93
95
// It might be that the archive failed but the .swiftinterface files are still created
94
96
// so we have to check outside if they exist.
95
97
//
96
98
// Also see: https://github.com/swiftlang/swift/issues/56573
97
- guard fileHandler. fileExists ( atPath: derivedDataPath) else {
98
- print ( result)
99
-
99
+ guard fileHandler. fileExists ( atPath: buildDirPath) else {
100
100
throw XcodeToolsError (
101
101
errorDescription: " 💥 Building project failed " ,
102
102
underlyingError: result
You can’t perform that action at this time.
0 commit comments