xcpretty / xcode-install

🔽 Install and update your Xcodes
https://fastlane.tools
MIT License
2.59k stars 243 forks source link

xcversion simulators --install="iOS 13.3" throwing issue. #379

Closed visibleajay closed 4 years ago

visibleajay commented 4 years ago

Need to install iOS13.3 in a Mac machine using terminal.

With xcversion simulators --install="iOS 13.3" Receiving -bash: /usr/local/bin/xcversion: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

On inspecting /System/Library/Frameworks/Ruby.framework/Versions/ folder, able to see the version 2.6 folder.

Any Hints are appreciated.

visibleajay commented 4 years ago

Solved it by reinstalling xcode-install.

sudo gem install -n /usr/local/bin xcode-install

Thank you for the help.