From b84f3ec2f011c505609dd4b321cc9c2d03931de9 Mon Sep 17 00:00:00 2001 From: cherylEnkidu Date: Tue, 22 Oct 2024 22:56:41 -0400 Subject: [PATCH] bug fix --- Firestore/core/swift/src/used_by_swift.cc | 2 +- Package.swift | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Firestore/core/swift/src/used_by_swift.cc b/Firestore/core/swift/src/used_by_swift.cc index b6cc5ee11c4..c497d8ee1b1 100644 --- a/Firestore/core/swift/src/used_by_swift.cc +++ b/Firestore/core/swift/src/used_by_swift.cc @@ -2,7 +2,7 @@ // Created by Cheryl Lin on 2024-10-22. // -#include "Firestore/core/swift/include/used_by_swift.h" +#include "../include/used_by_swift.h" #include UsedBySwift::UsedBySwift(std::string content) { diff --git a/Package.swift b/Package.swift index f1ea1ea901c..cfa9a273a05 100644 --- a/Package.swift +++ b/Package.swift @@ -1174,7 +1174,10 @@ let package = Package( "FirebaseStorage", .product(name: "nanopb", package: "nanopb"), ], - path: "SwiftPMTests/swift-test" + path: "SwiftPMTests/swift-test", + swiftSettings: [ + .interoperabilityMode(.Cxx), // C++ interoperability setting + ] ), .testTarget( name: "analytics-import-test", @@ -1406,9 +1409,6 @@ func firebaseFirestoreCppTarget() -> Target { return .target( name: "FirebaseFirestoreCpp", path: "Firestore/core/swift", - sources: [ - "src", - ], publicHeadersPath: "include", // Path to the public headers cxxSettings: [ .headerSearchPath("umbrella"), // Ensure the header search path is correct