Closed MortenGregersen closed 5 years ago
Hi @MortenGregersen, thank you for reporting this. From what I can see you seem not to have made a mistake. Please note that I already had several different problems with SwiftSyntax in different contexts (one of which being it couldn't be correctly linked with even with SwiftPM directly, see this ticket), so SwiftSyntax seems to be a special case when it comes to linking.
I'm not sure what the exact issue is though, this needs further investigation ... Maybe @mrylmz has an idea? :)
Hi @MortenGregersen there is some additional work described in the readme of swift syntax which has to be done prior to using SwiftPM to build the project. Could it be possible that this phase is missing when it is build with Accio or Carthage directly?
Hi @MortenGregersen there is some additional work described in the readme of swift syntax which has to be done prior to using SwiftPM to build the project. Could it be possible that this phase is missing when it is build with Accio or Carthage directly?
This is maybe why I can't get it to work. I'm closing this issue, as I won't be using Accio for my project, and can't help more investigating the issue.
I've a swift package which depends on SwiftSyntax/libsyntax. When I use accio to use my swift package in an macOS app, it fails building my package. It seems that the error is when building with Carthage, where the files from SwiftSyntax is missing (see the attached log).
I've created a sample project, which is a macOS app with only my package as dependency. It can be found at https://github.com/MortenGregersen/accio-bug-sample
I've added a Cartfile to the sample project just to test if I could build the package with Carthage - this also fails.
Can anyone see what I am doing wrong?
carthage-xcodebuild.v6jVq9.log