google / EarlGrey

:tea: iOS UI Automation Test Framework
http://google.github.io/EarlGrey/
Apache License 2.0
5.61k stars 742 forks source link

Universal Framework Script #745

Open bootstraponline opened 6 years ago

bootstraponline commented 6 years ago

It'd be nice to have a script that generates a universal framework for EarlGrey. Then when EarlGrey is used in CI, the dependency doesn't have to be recompiled.

tirodkar commented 6 years ago

The current framework should have all the required supported architectures. Any specific reason why you need a static library?

bootstraponline commented 6 years ago

The current framework should have all the required supported architectures. Any specific reason why you need a static library?

If I build for simulator then the framework only works on the simulator, same for real device. We're trying to optimize for build performance by checking in binary dependencies to a submodule. As part of that, I'm having to generate a universal EarlGrey framework that works on both simulators and devices. That's not currently supported today by EarlGrey. It looks like that would require a custom shell script.

bootstraponline commented 6 years ago

I clarified the wording, the ask is for a universal "fat" framework not a static lib.