-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fails to compile because of swift-rs dependency when building for ios #1
Comments
Hi! At the moment, I don't have support for iOS. However, that's a good idea. I'll try to add support for iOS. |
I was thinking of using |
Did you end up solving the problem? |
@doroved yes take a look at https://github.com/Zack-Xb/tid-rs |
I am using this crate in the tauri mobile framework to authenticate the users when interacting with the ios keychain via security framework. The problem here I believe lies in the crate dependency
swift-rs
specifically in thelink
function inbuild.rs
.This is because the function is trying to build
swift-lib
from this crate with the swift-package-manager but the swift package manager recognises anything that isdarwin
asmacOS
and this cause the swift build to fail if when targeting the ios triple correctly and setting all other flags correctly.If anyone has any workaround to this issue, or another way to use the localauthentication framework from rust, leave a comment please. Thanks.
The text was updated successfully, but these errors were encountered: