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

Installing multiple versions of Xcode simultaneously installs wrong versions #68

Closed
keith opened this issue Oct 14, 2015 · 2 comments
Closed
Labels
Milestone

Comments

@keith
Copy link
Contributor

keith commented Oct 14, 2015

I needed to install a few old versions of Xcode for testing old Swift versions. I fired off downloads for 6.0.1, 6.2 and 6.4 in different terminals, when they all finished I realized that it installed 6.0.1 3 times.

screen shot 2015-10-14 at 15 39 02

Not sure the cause of this but we should either fix it or warn that another job is happening before allowing an install.

@neonichu neonichu added the bug label Oct 15, 2015
@neonichu neonichu added this to the 1.0 milestone Oct 15, 2015
@neonichu neonichu modified the milestones: 1.0, 1.1 Nov 2, 2015
@mrcljx
Copy link
Contributor

mrcljx commented Nov 4, 2015

The problem is this line:

source = Dir.glob('/Volumes/Xcode/Xcode*.app').first

which will use the Volume that was mounted first (instead of /Volumes/Xcode 1/..., /Volumes/Xcode 2/... etc).

@neonichu
Copy link
Collaborator

neonichu commented Nov 4, 2015

I guess we have to parse the hdiutil output in the code prior to that to ensure the right volume is used.

mrcljx added a commit to mrcljx/xcode-install that referenced this issue Nov 5, 2015
neonichu added a commit that referenced this issue Nov 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants