XcodesApp
XcodesApp copied to clipboard
Uninstall command should give error message when it can't find version to uninstall
Describe the bug I am trying to uninstall a version of Xcode by right-clicking, Uninstall but it does not uninstall.
To Reproduce Steps to reproduce the behavior:
- Launch Xcodes
- Right click on an installed Xcode
- Hit Uninstall
Expected behavior That version of Xcode should be removed. It is not removed.
Screenshots https://user-images.githubusercontent.com/385415/127566519-ab2c338b-4782-40a7-a258-780789086ef3.mov
Version
- OS: 11.5
- Xcodes: 1.1.0 (7)
Console Log This is from when I right click and hit Uninstall:
default 14:11:15.235008-0700 runningboardd Invalidating assertion 215-129-13762 (target:[app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193]) from originator [daemon<com.apple.coreservices.launchservicesd>:129]
default 14:11:15.247926-0700 runningboardd Assertion did invalidate due to timeout: 215-129-13764 (target:[app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193])
default 14:11:15.248198-0700 runningboardd Invalidating assertion 215-179-13763 (target:[app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193]) from originator [daemon<com.apple.WindowServer(88)>:179]
default 14:11:15.353323-0700 runningboardd [app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193] Ignoring jetsam update because this process is not memory-managed
default 14:11:15.353329-0700 runningboardd Calculated state for app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>: running-active (role: UserInteractiveNonFocal)
default 14:11:15.353343-0700 runningboardd [app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193] Ignoring suspend because this process is not lifecycle managed
default 14:11:15.353383-0700 runningboardd [app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193] Set darwin role to: UserInteractiveNonFocal
default 14:11:15.353404-0700 runningboardd [app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193] Ignoring GPU update because this process is not GPU managed
default 14:11:15.353600-0700 runningboardd [app<application.com.robotsandpencils.XcodesApp.96361176.96361182(780288435)>:35193] Skipping AppNap state - not lifecycle managed
hi @markcerqueira thanks for the issue.
It looks like from your video it didn't uninstall it because Xcode beta app has a different name than what it's expecting.
Xcodes would be looking for a Xcode-13.0.0-beta but yours is named Xcode 13 Beta.
It should give you at least a message saying it couldn't find it, or couldn't uninstall it. so I'll rename this issue to get fixed.
Thanks
Thanks @MattKiazyk - that makes sense. I believe I installed this Xcode manually before I discovered Xcodes so that would explain it. Cheers!