rules_apple icon indicating copy to clipboard operation
rules_apple copied to clipboard

Support for macOS static framework

Open kjteske opened this issue 6 years ago • 3 comments

Any plans for this?

I'm guessing it would look pretty similar to other static framework implementations, I could take a stab at a PR.

kjteske avatar Jan 23 '20 14:01 kjteske

Our rough plan for rules dealing with distributable frameworks going forward is that we'd like to unify things around Xcode 11's new .xcframework bundle format, where we'd only have to maintain a single rule implementation that would build whichever platform/architecture combinations that users are interested in.

For that reason, we'd like to avoid adding more variants of the existing implementation at this time, since we don't want to imply that they would be supported longer-term.

allevato avatar Jan 23 '20 15:01 allevato

Makes sense. Any guess on how soon that'll be?

kjteske avatar Jan 23 '20 15:01 kjteske

Here's a tracking issue for supporting distributable xcframeworks https://github.com/bazelbuild/rules_apple/issues/1249

I would be happy to accept a macos_static_framework rule in the meantime, since I think that could still be desirable since unlike iOS we won't have architecture conflicts, and once the M1 transition is complete, you may want to produce a "simpler" framework than a full xcframework just for a single platform

keith avatar Oct 26 '21 20:10 keith