Skip to content

Commit b84f3ec

Browse files
committed
bug fix
1 parent bf1f630 commit b84f3ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Firestore/core/swift/src/used_by_swift.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Created by Cheryl Lin on 2024-10-22.
33
//
44

5-
#include "Firestore/core/swift/include/used_by_swift.h"
5+
#include "../include/used_by_swift.h"
66
#include <iostream>
77

88
UsedBySwift::UsedBySwift(std::string content) {

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,10 @@ let package = Package(
11741174
"FirebaseStorage",
11751175
.product(name: "nanopb", package: "nanopb"),
11761176
],
1177-
path: "SwiftPMTests/swift-test"
1177+
path: "SwiftPMTests/swift-test",
1178+
swiftSettings: [
1179+
.interoperabilityMode(.Cxx), // C++ interoperability setting
1180+
]
11781181
),
11791182
.testTarget(
11801183
name: "analytics-import-test",
@@ -1406,9 +1409,6 @@ func firebaseFirestoreCppTarget() -> Target {
14061409
return .target(
14071410
name: "FirebaseFirestoreCpp",
14081411
path: "Firestore/core/swift",
1409-
sources: [
1410-
"src",
1411-
],
14121412
publicHeadersPath: "include", // Path to the public headers
14131413
cxxSettings: [
14141414
.headerSearchPath("umbrella"), // Ensure the header search path is correct

0 commit comments

Comments
 (0)