Skip to content

Commit 6350734

Browse files
committed
bug fix
1 parent 163cbdd commit 6350734

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
@@ -1175,7 +1175,10 @@ let package = Package(
11751175
"FirebaseStorage",
11761176
.product(name: "nanopb", package: "nanopb"),
11771177
],
1178-
path: "SwiftPMTests/swift-test"
1178+
path: "SwiftPMTests/swift-test",
1179+
swiftSettings: [
1180+
.interoperabilityMode(.Cxx), // C++ interoperability setting
1181+
]
11791182
),
11801183
.testTarget(
11811184
name: "analytics-import-test",
@@ -1399,9 +1402,6 @@ func firebaseFirestoreCppTarget() -> Target {
13991402
return .target(
14001403
name: "FirebaseFirestoreCpp",
14011404
path: "Firestore/core/swift",
1402-
sources: [
1403-
"src",
1404-
],
14051405
publicHeadersPath: "include", // Path to the public headers
14061406
cxxSettings: [
14071407
.headerSearchPath("umbrella"), // Ensure the header search path is correct

0 commit comments

Comments
 (0)