Closed AugustDev closed 3 years ago
More specifically, XCode complains with the following error:
'PHGMiddleware.h' file not found
Occurs in the file posthog-ios/PostHog/Classes/Payloads/PHGPayloadManager.h
on line #2
I'm also experiencing this problem. Did you manage to find a solution to the issue?
@arunrdd did you find a way to solve this error?
+1 to the people experiencing this problem.
@mariusandra what is the status on this? We are still getting this error with importing objective-c headers
#import "PHGCrypto.h"
in the PHGStorage.h
file
Version 1.4.0 should finally fix this!
When importing
PostHog
via Swift Package Manager I end up with an error.Could not build Objective-C module 'PostHog'
To reproduce the problem:
Simply create a new Xcode project using Swift and import PostHog from "https://github.com/PostHog/posthog-ios".
I'm not sure if I'm missing something basic or the package is not compatible with SPM. All ideas are appreciated!