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

Error Implementing this library. #12

Open
dfmarulanda opened this issue Jun 10, 2019 · 1 comment
Open

Error Implementing this library. #12

dfmarulanda opened this issue Jun 10, 2019 · 1 comment

Comments

@dfmarulanda
Copy link

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'library must be initialized before calling this method.'
*** First throw call stack:

    let config = SEGAnalyticsConfiguration(writeKey: "MY_CODE_HERE")
    // Enable this to record certain application events automatically!
    config.trackApplicationLifecycleEvents = true
    config.trackDeepLinks = true
    config.recordScreenViews = true
    config.debug = true

    SEGAnalytics.setup(with: config)
@maryjenel
Copy link

Anyone find a solution to this? I'm getting the same error

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

No branches or pull requests

2 participants