You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed in the PostHog docs that "you can use any of our libraries or any Mixpanel library". So I went with the Mixpanel SPM package and it seems to be sending events through just fine from my Mac app to PostHog :)
@marandaneto - will the new iOS sdk bring support to macOS? And or do you have a rough timeframe for when that could happen? I also see fromthe poster above -- that they used the Mixpanel SPM package -- does that method still work?
@wasauce the v3 SDK has compiler flags so it should just work on macOS, but a few features that depend on UIKit etc won't work but that's fine if you don't need them.
The first v3 alpha is out today.
Not sure if Mixpanel SDK is still compatible, that comment was 1y+ ago and the docs have been updated.
Activity
jeff-h commentedon Jul 26, 2022
Same issue for me — this won't compile for a Mac-only app. There are imports for UIKit in six classes which precludes compiling this for macOS.
#import <UIKit/UIKit.h>jeff-h commentedon Jul 27, 2022
I noticed in the PostHog docs that "you can use any of our libraries or any Mixpanel library". So I went with the Mixpanel SPM package and it seems to be sending events through just fine from my Mac app to PostHog :)
marandaneto commentedon Oct 9, 2023
Similar to #51
wasauce commentedon Nov 1, 2023
@marandaneto - will the new iOS sdk bring support to macOS? And or do you have a rough timeframe for when that could happen? I also see fromthe poster above -- that they used the Mixpanel SPM package -- does that method still work?
marandaneto commentedon Nov 2, 2023
@wasauce the v3 SDK has compiler flags so it should just work on macOS, but a few features that depend on
UIKitetc won't work but that's fine if you don't need them.The first v3 alpha is out today.
Not sure if Mixpanel SDK is still compatible, that comment was 1y+ ago and the docs have been updated.
marandaneto commentedon Nov 2, 2023
Similar to #24
Some features don't work because they depend on
UIKitor something available only for iOS targets, but the SDK should do the basic stuff as sending events, etc.https://github.com/PostHog/posthog-ios/releases/tag/3.0.0-alpha.2