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

Xcode command-line tools location (multiple versions of Xcode installed) #295

Open
jtara opened this issue Apr 9, 2014 · 1 comment
Open
Assignees

Comments

@jtara
Copy link

jtara commented Apr 9, 2014

Somehow, I thought this got fixed in 4.0, but now I have moved a project from 2.2 to 4.1, and find this is still not fixed.

A developer might have multiple versions of Xcode installed. The command line tools that will be used (normally) can be set either in Xcode Settings, Locations, Command Line Tools drop-down, or using a command-line tool. Normally, this is all that is needed to switch versions when doing command-line builds.

Rhodes doesn't observe this setting, and so if you have multiple versions of Xcode installed, you have to constantly rename them so that the one you are building with is called Xcode.app.

Was this fixed and then the fix lost? Was this never done, and I misunderstood.

Sorry, can't seem to find the related Issue, but I specifically recall having a discussion about it and nothing that it had been fixed in master.

@jtara
Copy link
Author

jtara commented Jun 5, 2014

Any possibility of fixing this?

As of 4.1, it's still necessary to rename whatever version of Xcode that is being used to build Rhodes to Xcode.app.

Many developers maintain multiple versions of Xcode. Typically, you would give each version a name which includes the version number.

Xcode has a standard way of specifying which version of command-line tools to use for build. You can set an option in the Xcode GUI, or you can use a command-line program. Build systems should follow this standard.

Apparently, Rhodes does use this mechanism in part. (It's necessary to both rename the "active" Xcode to Xcode.app and to set the option for which command-line tools to use.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants