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 {
2323
2424 internal enum Constants {
2525 static let derivedDataPath : String = " .build "
26+ static let buildDirPath : String = " .build/Build "
2627 static let simulatorSdkCommand = " xcrun --sdk iphonesimulator --show-sdk-path "
2728 }
2829
@@ -87,16 +88,15 @@ struct XcodeTools {
8788
8889 let result = shell. execute ( command)
8990 let derivedDataPath = " \( projectDirectoryPath) / \( Constants . derivedDataPath) "
91+ let buildDirPath = " \( projectDirectoryPath) / \( Constants . buildDirPath) "
9092
9193 logger? . debug ( result, from: String ( describing: Self . self) )
9294
9395 // It might be that the archive failed but the .swiftinterface files are still created
9496 // so we have to check outside if they exist.
9597 //
9698 // 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 {
100100 throw XcodeToolsError (
101101 errorDescription: " 💥 Building project failed " ,
102102 underlyingError: result
You can’t perform that action at this time.
0 commit comments