-
Notifications
You must be signed in to change notification settings - Fork 822
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
Fixed issue when linking and embeding static frameworks #820
Fixed issue when linking and embeding static frameworks #820
Conversation
2ef3f0b
to
a03083f
Compare
Thanks @acecilia! |
a03083f
to
00bc4f3
Compare
00bc4f3
to
11bfcdd
Compare
Build not working due to tuist/XcodeProj#536 |
11bfcdd
to
42699db
Compare
Oh sorry, I am not familiar with Github PR reviews, and I had comments explaining the code (which I made yesterday) but did not press in "Submit review" :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the dependency.embed != true
is propagated more (and more tests are written if needed to ensure nothing breaks from that), this is good to good from my PoV. Thanks @acecilia!
42699db
to
f1b6d66
Compare
This is ready to go :) |
@acecilia Please rebase to resolve conflicts. |
…be linked and NOT embed
f1b6d66
to
c17a831
Compare
@brentleyjones done :) |
Thanks @acecilia for this fix! |
From what I understand, static frameworks are:
For example, given this (SwiftModule1, SwiftModule2 and SwiftModule3 are static frameworks; SnapKit is a dynamic one):
In the target
SwiftModule1Tests
, when generating the xcode project you find that:I believe that is wrong, and instead it should be: