-
Notifications
You must be signed in to change notification settings - Fork 78
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
Failed to lookup Xcode UUID: command ["defaults", "read"] exited with code 1 #351
Comments
I can consistently reproduce this when |
I will also try deleting gen. |
Still unsuccessful: admin@sscn-macos hello % rm -rf gen
admin@sscn-macos hello % clear
admin@sscn-macos hello % cargo mobile init
Generating base project...
Installing iOS toolchains...
info: component 'rust-std' for target 'aarch64-apple-ios' is up to date
info: component 'rust-std' for target 'aarch64-apple-ios-sim' is up to date
info: component 'rust-std' for target 'x86_64-apple-ios' is up to date
/opt/homebrew/bin/xcodegen
/opt/homebrew/bin/idevicesyslog
/usr/local/bin/pod
Apple dependencies are up to date
Installing `rust-xcode-plugin`...
Updating `rust-xcode-plugin` repo...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
HEAD is now at 3030245 dd UUID for Xcode 14.0 and 14.1
action request: Failed to install Rust Xcode plugin; this component is optional,
so init will continue anyway, but Xcode debugging won't work until this is
resolved!
Failed to lookup Xcode UUID: command ["defaults", "read"] exited with code 1
Generating Xcode project...
⚙️ Generating plists...
⚙️ Generating project...
⚙️ Writing project...
Created project at /Users/admin/Desktop/hello/gen/apple/hello.xcodeproj
Installing Android toolchains...
info: component 'rust-std' for target 'aarch64-linux-android' is up to date
info: component 'rust-std' for target 'armv7-linux-androideabi' is up to date
info: component 'rust-std' for target 'i686-linux-android' is up to date
info: component 'rust-std' for target 'x86_64-linux-android' is up to date
Generating Android Studio project...
victory: Project generated successfully!
Make cool apps! 🌻 🐕 🎉
admin@sscn-macos hello % |
Hm interesting, my project built fine after that. At least the asset error seems to be fixed, but I am not sure what's going on with the Rust Xcode plugin. |
I ran the following command according to the instructions of Rust Xcode Plugin: defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID But the output is:
May I ask what the situation is? Is it because my version of xcode is too high? |
Describe the bug
A clear and concise description of what the bug is. If you are using tauri-cli, please consider open an issue in Tauri main repo first.
output:
I tried:
defaults read
It can output a lot of information without failure.
Steps To Reproduce
Steps to reproduce the behavior. It must use cargo-mobile2 itself and wry template directly instead of tauri-cli.
cargo new hello cd hello cargo mobile init
Expected behavior
A clear and concise description of what you expected to happen.
I just want to build an iOS application.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform and Versions (please complete the following information):
Host OS: macos14.5
Target OS:ios
Rustc:1.79.0
Ouput of
cargo mobile doctor
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: