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 8b4 and toolchain #1417

Closed
TofPlay opened this issue Aug 4, 2016 · 2 comments
Closed

Xcode 8b4 and toolchain #1417

TofPlay opened this issue Aug 4, 2016 · 2 comments
Labels

Comments

@TofPlay
Copy link

TofPlay commented Aug 4, 2016

  • carthage version: 0.17.2
  • xcodebuild -version: Xcode 7.3.1 Build version 7D1014
  • Are you using --no-build? No
  • Are you using --no-use-binaries? Yes
  • Are you using --use-submodules? No

I have to work Xcode 7 and Swift 2.2 projects and prepare the migration to Xcode 8 and Swift 3. Actually each time I want to build project for Swift 3 I'm using xcode-select to switch to Xcode 8 environment and vice versa. In time it's pretty constraining to do so.
I saw that Carthage was an option toolchain. But I have not found how to have the list of toolchains available on the Mac .
Is there an option with Carthage to list the available toolchains (beta version included)?

@hyperspacemark
Copy link

No way to list the available toolchains (that I'm aware of) but the reverse domain identifiers follow the format com.apple.dt.toolchain.{TOOLCHAIN NAME}. The available toolchains are inside the Xcode package at /Application/Xcode.app/Developer/Toolchains.

So for Swift 2.3 you'd pass --toolchain com.apple.dt.toolchain.Swift_2_3 and for Swift 3 you'd pass --toolchain com.apple.dt.toolchain.XcodeDefault.

@ikesyo
Copy link
Member

ikesyo commented Sep 23, 2016

Closing this due to inactivity. Feel free to reopen if you have any updates on this.

@ikesyo ikesyo closed this as completed Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants