Skip to content

Commit

Permalink
🐛 Fix missing headers errors when integrating via SPM and Tuist (#1)
Browse files Browse the repository at this point in the history
* Update Package.swift

* Update NearbyCoreAdapter.h
  • Loading branch information
monchote authored Sep 2, 2024
1 parent 3ee2860 commit 863af0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(
url: "https://github.com/bourdakos1/abseil-cpp-SwiftPM.git",
branch: "cxx17-test"
url: "https://github.com/monzo/abseil-cpp-SwiftPM.git",
exact: "0.20240902.0"
),
.package(
url: "https://github.com/firebase/boringssl-SwiftPM.git",
"0.7.1"..<"0.8.0"
url: "https://github.com/monzo/boringssl-SwiftPM.git",
exact: "0.7.3"
),
],
targets: [
Expand Down Expand Up @@ -241,7 +241,10 @@ let package = Package(
"json/wsjcpp.yml",
],
sources: ["EmptySwiftPackageManagerFile.cpp"],
publicHeadersPath: "json/include"
publicHeadersPath: "json/include",
cxxSettings: [
.headerSearchPath("json/include")
]
),
.target(
name: "protobuf",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#import "GNCDiscoveryDelegate.h"
#import "GNCDiscoveryOptions.h"
#import "GNCError.h"
#import "GNCException.h"
#import "GNCFlags.h"
#import "GNCPayload.h"
#import "GNCPayloadDelegate.h"
Expand Down

0 comments on commit 863af0c

Please sign in to comment.