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

UUID lookup failed on macOS 12.5.1 #113

Open
campbellcole opened this issue Nov 26, 2022 · 0 comments
Open

UUID lookup failed on macOS 12.5.1 #113

campbellcole opened this issue Nov 26, 2022 · 0 comments

Comments

@campbellcole
Copy link

campbellcole commented Nov 26, 2022

The error left in console is as follows:

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 /Library/Developer/Info DVTPlugInCompatibilityUUID" didn't complete
    successfully, exiting with code 1. stderr contents: 2022-11-25 23:51:29.990 defaults[74905:4131174]
    The domain/default pair of (/Library/Developer/Info, DVTPlugInCompatibilityUUID) does not exist

I did some digging through the source code to figure out why this was happening, and I saw the comment that says check if uuid is supported, and prompt user to open issue if not. It seems you may have forgotten to add the prompt, but that's all right 😄.

I tried to see if I could locate the UUID anywhere using the defaults command, and the entire /Library/Developer/Info domain doesn't exist. I had installed xcode but hadn't opened it yet when I initially tried to run it, so I ran xcode and updated xcode-select tools using Software Update, and still I don't have those defaults anywhere. I couldn't find anything online either, so I figured it's best to let you know. I'll see about installing the xcode rust plugin manually now...

Update 1: I tried searching for the DVTPlugInCompatibilityUUID key using defaults find DVTPlugInCompatibilityUUID and it turned up nothing. I'm thinking there must be some application I haven't launched yet that registers the domain/keys.

Update 2: I located the DVTPlugInCompatibilityUUID key. It was found using defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID. I don't know if xcode-select -p is supposed to return /Library/Developer/CommandLineTools, but it is on my machine. Also I realize now that the prompt the user to open an issue is intended for when it does find the UUID but it isn't supported, I apologize.

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

No branches or pull requests

1 participant