Moving Xcode to /Applications/Xcode-14.0.0.app\n“Xcode” couldn’t be moved to “Applications” because an item with the same name already exists.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Hi! Thanks for creating this project!
I got this error message, when executing this command a second time.
/opt/homebrew/bin/xcodes install --empty-trash --path /Users/admin/Downloads/Xcode-14.2.0+14C18.xip 14.2
Moving Xcode to /Applications/Xcode-14.2.0.app\n“Xcode” couldn’t be moved to “Applications” because an item with the same name already exists.
Could it be possible to have an option to ignore the error or an option to override it anyway -f?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the xcodes install command and reproduce the existing-destination error using the Xcode 14.2 path shown. Determine how an ignore or force option should behave when /Applications/Xcode-14.2.0.app already exists, and verify that the selected behavior completes installation without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100