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

Updated tauri dep to >= beta 19 to fix link_swift_library is private #97

Closed
wants to merge 1 commit into from

Conversation

ahornbeck
Copy link

The function link_swift_library has been replaced by link_apple_library in tauri-util. However, tauri-specta has a fixed version dependency on tauri version =2.0.0-beta.19, causing a version mismatch among the tauri crates. This results in the following error:

error[E0603]: function link_swift_library is private.

Updated the tauri version dependency to >=2.0.0-beta.19

@oscartbeaumont
Copy link
Member

Thanks but i'm closing this in favor of c7878ec.

@oscartbeaumont
Copy link
Member

oscartbeaumont commented Jun 2, 2024

I forgot to mention in my original but i'm not willing to have a relaxed version requirement on Tauri, as it would be against crates.io's semantic versioning requirements which are pretty important to follow.

The Tauri team are still making breaking changes and it would be irresponsible for me not to lock the build as your project would stop compiling if the Tauri team did a breaking change to anything Tauri Specta relies on.

Once Tauri v2 lands as stable the version requirement can be safely lifted. Hopefully, that will be soon!

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

Successfully merging this pull request may close these issues.

2 participants