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
DVTToolchain: Failed to load toolchain #1352
Comments
When I check the log the build of "PureLayout" finished with |
I'm not sure. You might want to try reinstall Xcode. 😕 |
Xcode 7 or Xcode 8 Beta? |
Both? 😕 |
I'm seeing this with @TofPlay Did you try reinstalling Xcode, and if so did it help? |
I was able to fix this issue by removing each toolchain that I had installed before Xcode 8 and then removing (manually) the symbolic link for the latest toolchain, Meanwhile I installed a more recent toolchain (master) and everything seems continuing to be working. |
@Baza207 I reinstall Xcode 8 but it doesn't change anything $ cd /Library/Developer/Toolchains/
$ ll
total 8
lrwxr-xr-x 1 root wheel 83B Jun 1 08:10 swift-latest.xctoolchain -> /Library/Developer/Toolchains/swift-3.0-preview-1-SNAPSHOT-2016-05-31-a.xctoolchain Like @dmcrodrigues I have a |
@mdiep just some quick questions: If I have a project develop with Swift 3 but this project need some frameworks written in Swift 2.3 and others written in Swift 3 how Carthage know what tool chain it must take for each framework? Or more simple I install a new tool chain and I want to test if my Carthage framework is compatible with this tool chain. How I can do that? Can we specify the tool chain in a Cartfile? |
Thanks @TofPlay, same thing here and removing that sys link seems to have fixed it. Seems to be a remnant of manually installing a Swift snapshot, rather than waiting for the Xcode 8 beta. 😛 When deleting the toolchain in Xcode 7, it doesn't seem to remove the sys link. I'm not sure where we should report this, should it be a Radar or a Swift issue on JIRA? |
I'm not sure that's supported by Swift/Xcode.
|
Hi @mdiep
Me either I don't know. But for sure all frameworks used on our projects will not migrate to Swift 3 simultaneously. The question is: Do we have to wait until all frameworks have switched to Swift 3 before migrate our project on Swift 3 too?
Ok thanks :) |
I have a feeling that's not supported at the moment, but will be in the future, when the ABI is brought out after Swift 3 (though don't quote me, I may have completely misunderstood that). |
IIUC we can't link a framework built with Swift 2.3 to Swift 3 codes and vice versa since there is no binary comparibility (ABI stability) yet. |
It sounds like the underlying issue here was resolved. |
@dmcrodrigues I am seeing this issue, how did you remove the system link to the old toolchains? |
carthage version
: 0.16.2xcodebuild -version
: Xcode 7.3.1 Build version 7D1014--no-build
? No--no-use-binaries
? No--use-submodules
? NoCartfile
Carthage Output
Just for information: I installed Xcode 8 Beta in the same Mac
Does anyone have an idea to fix this error? I feel that installing Xcode 8 created this problem. With time we will probably be required to have multiple versions of the tool chaine on a same mac. I don't know if Carthage is ready to manage this case.
Update: All my projects using Carthage have this error 😰
The text was updated successfully, but these errors were encountered: