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 'HMSSDK' #25

Open
JacksonUtsch opened this issue Jan 2, 2024 · 2 comments
Open

No such module 'HMSSDK' #25

JacksonUtsch opened this issue Jan 2, 2024 · 2 comments

Comments

@JacksonUtsch
Copy link

Cannot compile via SPM. Error shows from HMSChatModels.swift. Tried 1.2.0 and 1.2.2

@JacksonUtsch
Copy link
Author

Looks like here is the relevant error: Failed to build module 'HMSSDK'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)', while this compiler is 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)'). Please select a toolchain which matches the SDK.

BUILD_LIBRARY_FOR_DISTRIBUTION needs to be set.

@pawan-100ms
Copy link
Contributor

pawan-100ms commented Jun 12, 2024

@JacksonUtsch This should be fixed. Please verify this in the latest SDK release. Let us know if you still encounter this.

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