You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iOS gives each app a specific storage location, with a very long path from the root, more than 100 characters long when taking all the folder into account. This causes a socket path too long error when the lair keystore server is run.
I've been able to work around this issue by changing where the socket file gets created so that it lives on a temporary directory:
let mut con_path = if cfg!(target_os="ios") { // Work around the "socked path is too long" limit
std::env::temp_dir()
} else {
dunce::canonicalize(root_path)?
};
con_path.push("socket");
Not sure this should be the way to do things (I could open a PR for this).
The text was updated successfully, but these errors were encountered:
FYI in launcher and kangaroo this is "fixed" downstream by creating a symlink in the temp directory that points to the actual path: holochain-apps/kangaroo-tauri@0505e9c
iOS gives each app a specific storage location, with a very long path from the root, more than 100 characters long when taking all the folder into account. This causes a
socket path too long
error when the lair keystore server is run.I've been able to work around this issue by changing where the socket file gets created so that it lives on a temporary directory:
Instead of this line:
Not sure this should be the way to do things (I could open a PR for this).
The text was updated successfully, but these errors were encountered: