Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid import with latest version #1020

Open
carl0shd opened this issue Oct 26, 2021 · 3 comments
Open

Invalid import with latest version #1020

carl0shd opened this issue Oct 26, 2021 · 3 comments

Comments

@carl0shd
Copy link

carl0shd commented Oct 26, 2021

Hi, I am using the latest Analytics pod version 4.1.6, and when I try to import the library in the AppDelegate, Xcode says: 'Segment/SEGAnalytics.h' file not found.

Happens the same thing with the Leanplum integration.
Screen Shot 2021-10-26 at 12 08 50 PM

I run pod install, clean the build, and nothings work. I am using Xcode 13, I don't know if this is related #994.

A fun fact is that if I use #import <Analytics/SEGAnalytics.h> instead of #import <Segment/SEGAnalytics.h> the app compiles and works perfectly, but I still have the same problem with the Leanplum library, since it uses #import <Segment/SEGAnalytics.h>

PD: is the same problem with #1007

@sirajtahra
Copy link

+1

@sirajtahra
Copy link

@carl0shd were you able to fix the issue ?

@carl0shd
Copy link
Author

carl0shd commented Feb 10, 2022

@carl0shd were you able to fix the issue ?

Yes, simply do a fork of the Leanplum SDK library, and change the default import to #import <Analytics/SEGAnalytics.h> because appears segment will not update the SDK 😥.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants