cargo-mobile2
cargo-mobile2 copied to clipboard
Rerunning `cargo mobile init` causes error: "gen/apple/assets: No such file or directory"
When I rerun cargo mobile init, it fails every other time with the following error.
ln: /Users/elliotwaite/code/tmp/tauri-test-drive/gen/apple/assets: No such file or directory
error: Asset dir couldn't be symlinked into Xcode project
Failed to create a symbolic link from "../../assets" to directory "/Users/elliotwaite/code/tmp/tauri-test-drive/gen/apple" (file and directory clobbering enabled): `ln` command failed: Command "ln -n -s -f
../../assets /Users/elliotwaite/code/tmp/tauri-test-drive/gen/apple/assets" didn't complete successfully, exiting with code 1.
It seems like rerunning the command causes the gen/apple directory to be deleted, but then rerunning it again recreates that directory, making it succeed again.
Not the same but another error on mac os running cargo mobile init with wry template
"error: Base project template processing from src"