{"id":13810708,"url":"https://github.com/bazelbuild/rules_apple","last_synced_at":"2026-03-07T15:01:29.183Z","repository":{"id":37550136,"uuid":"86610729","full_name":"bazelbuild/rules_apple","owner":"bazelbuild","description":"Bazel rules to build apps for Apple platforms.","archived":false,"fork":false,"pushed_at":"2026-02-28T16:41:08.000Z","size":16152,"stargazers_count":581,"open_issues_count":226,"forks_count":317,"subscribers_count":29,"default_branch":"main","last_synced_at":"2026-02-28T23:10:56.903Z","etag":null,"topics":["apple","bazel","bazel-rules"],"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/bazelbuild.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-29T17:30:02.000Z","updated_at":"2026-02-24T06:36:03.000Z","dependencies_parsed_at":"2023-12-20T20:28:40.979Z","dependency_job_id":"74822244-e999-4994-a0d4-d5fbd74ff1cb","html_url":"https://github.com/bazelbuild/rules_apple","commit_stats":null,"previous_names":[],"tags_count":99,"template":false,"template_full_name":null,"purl":"pkg:github/bazelbuild/rules_apple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Frules_apple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Frules_apple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Frules_apple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Frules_apple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelbuild","download_url":"https://codeload.github.com/bazelbuild/rules_apple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Frules_apple/sbom","scorecard":{"id":113156,"data":{"date":"2025-08-11","repo":{"name":"github.com/bazelbuild/rules_apple","commit":"ecb76e2e4ee3244c77cf1603dca846cf2a3ac9f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6,"checks":[{"name":"Code-Review","score":9,"reason":"Found 29/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/create-release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 4.1.2 not signed: https://api.github.com/repos/bazelbuild/rules_apple/releases/238132415","Warn: release artifact 4.1.1 not signed: https://api.github.com/repos/bazelbuild/rules_apple/releases/234042386","Warn: release artifact 4.1.0 not signed: https://api.github.com/repos/bazelbuild/rules_apple/releases/233758339","Warn: release artifact 4.0.1 not signed: https://api.github.com/repos/bazelbuild/rules_apple/releases/225177831","Warn: release artifact 4.0.0 not signed: https://api.github.com/repos/bazelbuild/rules_apple/releases/224720259","Warn: release artifact 4.1.2 does not have provenance: https://api.github.com/repos/bazelbuild/rules_apple/releases/238132415","Warn: release artifact 4.1.1 does not have provenance: https://api.github.com/repos/bazelbuild/rules_apple/releases/234042386","Warn: release artifact 4.1.0 does not have provenance: https://api.github.com/repos/bazelbuild/rules_apple/releases/233758339","Warn: release artifact 4.0.1 does not have provenance: https://api.github.com/repos/bazelbuild/rules_apple/releases/225177831","Warn: release artifact 4.0.0 does not have provenance: https://api.github.com/repos/bazelbuild/rules_apple/releases/224720259"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: apple/testing/default_runner/ios_test_runner.template.sh:0","Info: Possibly incomplete results: error parsing shell code: arrays cannot be nested: apple/testing/default_runner/ios_xctestrun_runner.template.sh:0","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: apple/testing/default_runner/macos_test_runner.template.sh:0","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/rules_apple/create-release.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found linked content: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found text in security policy: github.com/bazelbuild/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":2,"reason":"SAST tool is not run on all commits -- score normalized to 2","details":["Warn: 8 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T16:29:20.301Z","repository_id":37550136,"created_at":"2025-08-15T16:29:20.301Z","updated_at":"2025-08-15T16:29:20.301Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30219250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T14:02:48.375Z","status":"ssl_error","status_checked_at":"2026-03-07T14:02:43.192Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-08-04T03:00:23.881Z","updated_at":"2026-03-07T15:01:29.159Z","avatar_url":"https://github.com/bazelbuild.png","language":"Starlark","readme":"# Apple Rules for [Bazel](https://bazel.build)\n\nThis repository contains rules for [Bazel](https://bazel.build) that can be\nused to bundle applications for Apple platforms.\n\nThese rules handle the linking and bundling of applications and extensions\n(that is, the formation of an `.app` with an executable and resources,\narchived in an `.ipa`). Compilation is still performed by the existing\n[`objc_library` rule](https://bazel.build/reference/be/objective-c#objc_library)\nin Bazel, and by the\n[`swift_library` rule](https://github.com/bazelbuild/rules_swift/blob/main/doc/rules.md#swift_library)\navailable from [rules_swift](https://github.com/bazelbuild/rules_swift).\n\nIf you are looking for an easy way to build mixed language frameworks, check out [rules_swift's `mixed_language_library`](https://github.com/bazelbuild/rules_swift/blob/main/doc/rules.md#mixed_language_library).\n\n## Reference documentation\n\n[Click here](https://github.com/bazelbuild/rules_apple/tree/main/doc)\nfor the reference documentation for the rules and other definitions in this\nrepository.\n\n## Quick setup\n\nCopy the latest `MODULE.bazel` or `WORKSPACE` snippet from [the releases\npage](https://github.com/bazelbuild/rules_apple/releases).\n\n## Examples\n\nMinimal example:\n\n```python\nload(\"@build_bazel_rules_apple//apple:ios.bzl\", \"ios_application\")\nload(\"@build_bazel_rules_swift//swift:swift.bzl\", \"swift_library\")\n\nswift_library(\n    name = \"MyLibrary\",\n    srcs = glob([\"**/*.swift\"]),\n    data = [\":Main.storyboard\"],\n)\n\n# Links code from \"deps\" into an executable, collects and compiles resources\n# from \"deps\" and places them with the executable in an .app bundle, and then\n# outputs an .ipa with the bundle in its Payload directory.\nios_application(\n    name = \"App\",\n    bundle_id = \"com.example.app\",\n    families = [\n        \"iphone\",\n        \"ipad\",\n    ],\n    infoplists = [\":Info.plist\"],\n    minimum_os_version = \"15.0\",\n    deps = [\":MyLibrary\"],\n)\n```\n\nSee the [examples](https://github.com/bazelbuild/rules_apple/tree/main/examples)\ndirectory for sample applications.\n\n## Supported bazel versions\n\nrules_apple and rules_swift are often affected by changes in bazel\nitself. This means you generally need to update these rules as you\nupdate bazel.\n\nYou can also see the supported bazel versions in the notes for each\nrelease on the [releases\npage](https://github.com/bazelbuild/rules_apple/releases).\n\nBesides these constraints this repo follows\n[semver](https://semver.org/) as best as we can since the 1.0.0 release.\n\n| Bazel release | Minimum supported rules version | Final supported rules version | Supporting Branch |\n|:-------------------:|:-------------------:|:-------------------------:|:-------------------------:|\n| 8.x (most recent rolling) | 2.* | current | `main` |\n| 7.x | 2.* | current | `main` |\n| 6.x | 2.* | 3.13.0 | `main` |\n| 5.x | 0.33.0 | 1.* | `bazel/5.x` |\n| 4.x | 0.30.0 | 0.32.0 | N/A |\n| 3.x | 0.20.0 | 0.21.2 | N/A |\n","funding_links":[],"categories":["Starlark","Additional language support"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Frules_apple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelbuild%2Frules_apple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Frules_apple/lists"}