xcpretty / xcode-install

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

xcversion select not setting default xcode version when using xed #301

Closed mihaicris closed 5 years ago

mihaicris commented 6 years ago

Install xcode 10 beta 6 (or any beta) xcversion install '10 beta 6'

Select version of xcode to non-beta xcversion select 9.4.1

Navigate to a project folder from terminal (with workspace) cd /path/to/xcode/project

Launch de editor from terminal: xed .
It should use xcode 9.4.1, instead it opens the project with xcode 10 beta 6.

KrauseFx commented 6 years ago

I'm not familiar with xed, can you tell us a bit more?

mihaicris commented 6 years ago

It is a tool to open Xcode from the terminal or whitin a script. The tool is called Xcode text editor invocation tool. More info from man xed. I don't know how to make xed be aware of a default Xcode version (provided by xcode-select -p).

Lutzifer commented 5 years ago

Might have been a Problem with Xcode?

from https://developer.apple.com/documentation/xcode_release_notes/xcode_10_1_release_notes

Resolved Issues

The xed tool now uses the Xcode currently specified by xcode-select or the DEVELOPER_DIR environment variable. (7711481)
mihaicris commented 5 years ago

Can be closed then..