bazelbuild / bazelbuild/rules_apple

Settings.app Acknowledgements.plist is missing?

Open
#79 5 comments 0 reactions 0 assignees View on GitHub
P3 type: feature request
Dominant language
Starlark
Stars
593
Forks
334
Avg merge
16h 48m
Merged PRs (30d)
9

Description

Good afternoon, I'm using Bazel and `rules_apple` to compile an iOS app and more 👍

I've got several third party dependencies. For attribution, I'd like to expose the licenses to users in `Settings.app`

Is there a way to generate this for all of my deps? I noticed that `objc_library` ( and all other build rules ) are supposed to have `licenses` as an attribute.

It wasn't clear to me if this is supported in iOS and I couldn't find anything related in `rules_apple` or the [docs](https://bazel.build/versions/master/docs/be/functions.html#licenses). Previously, this plist was governed by with CocoaPods, which [automatically generates](https://guides.cocoapods.org/syntax/podspec.html#license) this plist, and sets up the bundle. It'd be awesome if Bazel had this ability!

Contributor guide

Open the contributing guide

Research direction

Start with Bazel's licenses attribute documentation and the rules_apple build rules, including objc_library, to determine whether dependency license metadata is available to iOS bundles. Done means defining and documenting a supported way to generate and include Settings.app's Acknowledgements.plist for all dependencies.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.