Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylEnkidu committed Oct 23, 2024
1 parent 6b29df7 commit bbf47b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Firestore/core/swift/src/used_by_swift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <iostream>

UsedBySwift::UsedBySwift(std::string content) {
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bbf47b5

Please sign in to comment.