Carthage: Have Carthage use Xcode-beta, rather than Xcode, when both installed on a Mac?

Created on 27 Jul 2017  路  2Comments  路  Source: Carthage/Carthage

While Xcode 9 is beta, I have the typical arrangement,

screenshot

however, when I carthage update indeed it tries to use the Xcode8 tools, so I get:

screenshot 1

is there a way to tell Carthage to build with the "other" Xcode?

Most helpful comment

Excellent, thanks. For anyone googling here, it turns out you can also simply change this in the Xcode preferences.

Just open the newer Xcode and do this:

screenshot

All 2 comments

If you have multiple versions of the Apple developer tools installed (an Xcode beta, for example), use xcode-select to change which version Carthage uses.

https://github.com/Carthage/Carthage#resolve-build-failures

Excellent, thanks. For anyone googling here, it turns out you can also simply change this in the Xcode preferences.

Just open the newer Xcode and do this:

screenshot

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pmhood picture pmhood  路  3Comments

akaffenberger picture akaffenberger  路  3Comments

jdecarlo picture jdecarlo  路  3Comments

faustperic picture faustperic  路  3Comments

chrislconover picture chrislconover  路  3Comments