Open bootstraponline opened 5 years ago
Any reason not to use a dynamic framework in all cases?
Dynamic framework would work for my use case. I don't mind either way.
Isn't that already supported? In Detox, we link dynamically to the EarlGrey framework. If so, Carthage could just use that scheme.
You're correct for EarlGrey 1. EarlGrey 1 works fine with Carthage.
EarlGrey 2 changed to using static libraries and is causing all kinds of problems. 😄
Uhm, why in the world do that? iOS 7 support? 😂
I verified using a sample project that moving to a Cocoa Touch Framework
resolves the issue with Swift Frameworks. In summary the benefits to moving to a framework include:
I'm not sure how feasible it is for the EG team to make this change within Google.
Based on feedback from the Carthage team, I recommend that EarlGrey 2 move the static libs to static frameworks. Otherwise it's not possible for EarlGrey 2 to be properly consumed by Carthage.