{"id":13994923,"url":"https://github.com/line/rules_apple_line","last_synced_at":"2025-09-25T15:40:18.526Z","repository":{"id":43824936,"uuid":"256418433","full_name":"line/rules_apple_line","owner":"line","description":"LINE's Apple rules for Bazel","archived":false,"fork":false,"pushed_at":"2023-03-20T22:34:01.000Z","size":228,"stargazers_count":207,"open_issues_count":6,"forks_count":22,"subscribers_count":19,"default_branch":"main","last_synced_at":"2024-08-10T14:17:33.417Z","etag":null,"topics":["apple","bazel","bazel-rules","ios","mixed-language","objc","swift"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/line.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-17T06:16:13.000Z","updated_at":"2024-07-24T09:38:31.000Z","dependencies_parsed_at":"2023-01-20T06:19:17.501Z","dependency_job_id":null,"html_url":"https://github.com/line/rules_apple_line","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Frules_apple_line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Frules_apple_line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Frules_apple_line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/line%2Frules_apple_line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/line","download_url":"https://codeload.github.com/line/rules_apple_line/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227177699,"owners_count":17743147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","bazel","bazel-rules","ios","mixed-language","objc","swift"],"created_at":"2024-08-09T14:03:10.756Z","updated_at":"2025-09-25T15:40:13.489Z","avatar_url":"https://github.com/line.png","language":"Starlark","funding_links":[],"categories":["Starlark"],"sub_categories":[],"readme":"# LINE's Apple rules for Bazel ![](https://github.com/line/bazel_rules_apple/workflows/build/badge.svg)\n\nThis repository contains additional rules for Bazel that can be used to bundle\napplications and frameworks for Apple platforms.\n\n## Overview\n\nThese are open references of what are used to build the LINE iOS app, which\nsolve some of our specific use-cases, for instance, mixed Objective-C and Swift\nmodules. They can be used as drop-in replacements for the official Apple rules\nwhen needed, with the goal of being easy to switch back to the official ones\nwhen we longer need them.\n\nThey may not work with certain revisions of `rules_apple` or\n`rules_swift` due to their breaking changes. If they don't work out-of-the-box\nfor you, use them as references for your custom rule's implementation.\n\n## Build Definitions\n\n### Library Rules\n\n* [apple_library](docs/README.md#apple_library)\n* [metal_library](docs/README.md#metal_library)\n* [objc_library](docs/README.md#objc_library)\n* [swift_library](docs/README.md#swift_library)\n\n### Bundling Rules\n\n* [mixed_static_framework](docs/README.md#mixed_static_framework)\n* [objc_static_framework](docs/README.md#objc_static_framework)\n* [swift_static_framework](docs/README.md#swift_static_framework)\n\n### Other Rules\n\n* [apple_linker_inputs](docs/README.md#apple_linker_inputs)\n* [apple_preprocessed_plist](docs/README.md#apple_preprocessed_plist)\n* [apple_resource_bundle](docs/README.md#apple_resource_bundle)\n* [pkg_dsym](docs/README.md#pkg_dsym)\n* [swiftgen](docs/README.md#swiftgen)\n\n## Requirements\n\nBazel 4.0+\n\n## Setup\n\n- Setup [rules_apple](https://github.com/bazelbuild/rules_apple#quick-setup).\n\n- Add the following to your `WORKSPACE` file, replacing `\u003ccommit\u003e` with the\n  commit you wish to depend on and `\u003csha256\u003e` with the expected SHA-256 of the\n  zip file.\n\n```starlark\nRULES_APPLE_LINE_COMMIT = \"\u003ccommit\u003e\"\n\nhttp_archive(\n    name = \"rules_apple_line\",\n    sha256 = \"\u003csha256\u003e\",\n    strip_prefix = \"rules_apple_line-%s\" % RULES_APPLE_LINE_COMMIT,\n    url = \"https://github.com/line/rules_apple_line/archive/%s.zip\" % RULES_APPLE_LINE_COMMIT,\n)\n\nload(\n    \"@rules_apple_line//apple:repositories.bzl\",\n    \"rules_apple_line_dependencies\",\n)\n\nrules_apple_line_dependencies()\n```\n\n## Examples\n\nSee the [examples](examples) directory.\n\n## License\n\n```\nCopyright 2020 LINE Corporation\n\nLINE Corporation licenses this file to you under the Apache License,\nversion 2.0 (the \"License\"); you may not use this file except in compliance\nwith the License. You may obtain a copy of the License at:\n\n   https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\nLicense for the specific language governing permissions and limitations\nunder the License.\n```\n\nSee [LICENSE](LICENSE) for more detail.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fline%2Frules_apple_line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fline%2Frules_apple_line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fline%2Frules_apple_line/lists"}