-
Notifications
You must be signed in to change notification settings - Fork 823
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
Recursive Carthage dependencies #266
Comments
I thought XcodeGen shouldn't know about Thoughts, @yonaskolb ? |
Oh I realized that it's impossible because we cannot determine which frameworks to go into which target.🙄 |
Yeah, not sure if we can easily do this |
Hello everyone! Wasn't this pr #506 meant to resolve this issue? I'm currently trying to make it work but unfortunately Xcodegen doesn't automatically link. |
@GRiMe2D that PR was more for single dependencies that come with multiple frameworks, not transitive Carthage dependencies |
I'm not 100% if this is within the scope of this project, but currently, when adding Carthage dependencies you also have to manually add any Carthage dependencies that they may in their turn depend on.
E.g. I might have an iOS application that depends on BioPass. I add
github "LinusU/BioPass" ~> 1.1.1
to myCartfile
, and- carthage: BioPass
to the dependencies inproject.yml
.Now, BioPass in turns depends on PromiseKit, and Carthage will correctly pick this up and install both BioPass and PromiseKit. However, trying to run the built app will crash with:
Library not loaded: @rpath/PromiseKit.framework/PromiseKit
.The current fix is to add
- carthage: PromiseKit
to the list inproject.yml
, and then all is well. However, I think it would be excellent if this could be done automatically, as Carthage does.The text was updated successfully, but these errors were encountered: