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

Select Xcode Version #50

Closed
bassrock opened this issue Feb 17, 2015 · 7 comments
Closed

Select Xcode Version #50

bassrock opened this issue Feb 17, 2015 · 7 comments

Comments

@bassrock
Copy link
Contributor

With all the latest Xcode betas it would be great if we could have an option to select the Xcode version to use.

@KrauseFx
Copy link
Member

As far as I know you can set it using xcode-select --switch <path>. Does that work for you?

@bassrock
Copy link
Contributor Author

That could work but I believe that needs to be run as sudo. will fastlane support that?

@KrauseFx
Copy link
Member

It should. Can you try: sh "xcode-select --switch ..." and run fastlane with sudo? If that won't work, try adding sudo in front of xcode-select.

@bassrock
Copy link
Contributor Author

AH! better option that can be added to the readme: facebookarchive/xctool#193
Just add the following in the before all:

ENV['DEVELOPER_DIR'] = '/Applications/Xcode-Beta6.3.app/Contents/Developer'

@KrauseFx
Copy link
Member

Wow, nice find! Where could I add this to the documentation? fastlane README?

@bassrock
Copy link
Contributor Author

Yea probably the best place.

@KrauseFx
Copy link
Member

Here we go: ed6e7f4

Thanks for letting me know 👍

KrauseFx pushed a commit that referenced this issue Mar 7, 2016
Determine Ruby tool version from shared version.properties
@fastlane fastlane locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants