Skip to content

Commit a980df3

Browse files
committed
Fix cocoapods
1 parent f2326f7 commit a980df3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

FirebaseFirestoreCpp.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
2525
s.cocoapods_version = '>= 1.12.0'
2626
s.prefix_header_file = false
2727

28-
s.public_header_files = 'Firestore/core/swift/umbrella/*.h'
28+
s.public_header_files = 'Firestore/core/swift/include/*.h'
2929

3030
s.source_files = [
3131
'Firestore/core/swift/**/*.{cc,h}'

Firestore/Swift/Source/SwiftAPI/SwiftCppAPI.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import FirebaseFirestoreCpp
99

1010
public class SwiftCppWrapper {
11-
public init(_ value : String ){
11+
public init(_ value: String) {
1212
_ = UsedBySwift(std.string(value))
13-
}
13+
}
1414
}

Firestore/core/swift/umbrella/FirebaseFirestoreCpp.h renamed to Firestore/core/swift/include/FirebaseFirestoreCpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#ifndef FIREBASE_FIREBASEFIRESTORECPP_H
66
#define FIREBASE_FIREBASEFIRESTORECPP_H
77

8-
#import "../include/used_by_swift.h"
8+
#import "used_by_swift.h"
99

1010
#endif // FIREBASE_FIREBASEFIRESTORECPP_H

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ func firebaseFirestoreCppTarget() -> Target {
14041404
path: "Firestore/core/swift",
14051405
publicHeadersPath: "include", // Path to the public headers
14061406
cxxSettings: [
1407-
.headerSearchPath("umbrella"), // Ensure the header search path is correct
1407+
.headerSearchPath("include"), // Ensure the header search path is correct
14081408
]
14091409
)
14101410
}

0 commit comments

Comments
 (0)