Skip to content

Commit

Permalink
Fix cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylEnkidu committed Nov 1, 2024
1 parent 8f13ade commit 456ed82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FirebaseFirestoreCpp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
s.cocoapods_version = '>= 1.12.0'
s.prefix_header_file = false

s.public_header_files = 'Firestore/core/swift/umbrella/*.h'
s.public_header_files = 'Firestore/core/swift/include/*.h'

s.source_files = [
'Firestore/core/swift/**/*.{cc,h}'
Expand Down
4 changes: 2 additions & 2 deletions Firestore/Swift/Source/SwiftAPI/SwiftCppAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import FirebaseFirestoreCpp

public class SwiftCppWrapper {
public init(_ value : String ){
public init(_ value: String) {
_ = UsedBySwift(std.string(value))
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#ifndef FIREBASE_FIREBASEFIRESTORECPP_H
#define FIREBASE_FIREBASEFIRESTORECPP_H

#import "../include/used_by_swift.h"
#import "used_by_swift.h"

#endif // FIREBASE_FIREBASEFIRESTORECPP_H
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ func firebaseFirestoreCppTarget() -> Target {
path: "Firestore/core/swift",
publicHeadersPath: "include", // Path to the public headers
cxxSettings: [
.headerSearchPath("umbrella"), // Ensure the header search path is correct
.headerSearchPath("include"), // Ensure the header search path is correct
]
)
}
Expand Down

0 comments on commit 456ed82

Please sign in to comment.