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

"No such module 'SnapSDK'" even after cleaning project #16

Open
adamvnovak opened this issue Feb 27, 2024 · 1 comment
Open

"No such module 'SnapSDK'" even after cleaning project #16

adamvnovak opened this issue Feb 27, 2024 · 1 comment

Comments

@adamvnovak
Copy link

With the following code:

import SnapSDK
and

SCSDKSnapKit.initSDK()

I get the error "No such module SnapSDK exists" at the import line.
Screenshot 2024-02-27 at 10 40 40 AM

I have 10+ other packages via SPM without any issues.
I've tried deleting derived data, cleaning my project, resetting package caches and updating to latest versions, no luck.

However, my app was actually crashing when I started it up without my ClientId in my Info.plist, because SnapKit was trying to auto init without the necessary client id. So it seems that the code can run, but I can't import the module...?

@KillianSmith0
Copy link

You need to import the relevant modules

import SCSDKCreativeKit
import SCSDKCoreKit
import SCSDKLoginKit

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