I have been unable to find any examples of how to create an iOS framework using Bazel. There is an ios_framework
rule, but being new to the build system, I am unsure how to use it.
Is this possible to create a framework, and if so, how would I go about doing so?
Would this work for you? I've left all of the optionals off to keep things simpler:
BUILD:
ios_framework(
name = "framework",
binary = ":framework_binary",
)
ios_framework_binary(
name = "framework_binary",
srcs = [
"frameworksource.m",
],
)