{"id":20113773,"url":"https://github.com/fdzsergio/bazelsample","last_synced_at":"2025-05-06T12:30:38.053Z","repository":{"id":244839424,"uuid":"219941973","full_name":"fdzsergio/BazelSample","owner":"fdzsergio","description":"Example of iOS app built with Bazel","archived":false,"fork":false,"pushed_at":"2019-12-24T15:33:01.000Z","size":194,"stargazers_count":61,"open_issues_count":1,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T12:21:54.075Z","etag":null,"topics":["bazel","swift","tulsi","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/fdzsergio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-06T07:57:04.000Z","updated_at":"2025-01-20T14:41:12.000Z","dependencies_parsed_at":"2024-06-17T20:19:10.981Z","dependency_job_id":null,"html_url":"https://github.com/fdzsergio/BazelSample","commit_stats":null,"previous_names":["fdzsergio/bazelsample"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdzsergio%2FBazelSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdzsergio%2FBazelSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdzsergio%2FBazelSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdzsergio%2FBazelSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdzsergio","download_url":"https://codeload.github.com/fdzsergio/BazelSample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252683381,"owners_count":21788028,"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":["bazel","swift","tulsi","xcode"],"created_at":"2024-11-13T18:25:49.361Z","updated_at":"2025-05-06T12:30:37.643Z","avatar_url":"https://github.com/fdzsergio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BazelSample\n\nThis is a small example of how to build an iOS application with *Bazel*. If you want to know how it works and how to develop an example from scratch, check the [article](https://medium.com/@fdzsergio/building-faster-in-ios-with-bazel-448a3074e73).\n\n## Requirements\n\nTo build and test the project you need the following dependencies:\n- Xcode 11.2.0\n- Bazel 1.1.0\n- Carthage 0.34.0\n\nIf you want to generate the Xcode project, you will need to install [Tulsi](https://github.com/bazelbuild/tulsi). You will need to setup the environment with carthage before build any target. I've built a script to automatizate this: \n\n\u003e $ make setup\n\n## Usage\n\nTo build the iOS app and generate an IPA file you will run:\n\n\u003e $ make build\n\nIf you want to test all targets on project run the following:\n\n\u003e $ make test\n\nTo run the app on simulator from terminal you could exec:\n\n\u003e $ make run\n\n### Xcode project generation\n\nTo generate the xcode project from terminal you need to run:\n\u003e $ make project\n\nThis command generate a project on `Develop` environment, if you want to change it, you could run: \n\n\u003e $ scripts/tulsigen config/BazelSample.tulsiproj Production\n\n## Advanced usage \n\nIf you want to build a release version with `Production` envinronment you need pass the following options:\n\n\u003e $ tools/bazelw build //App:Sample --config release --define envinronment=production\n\nMaybe you need to config the `ios_signing_cert_name` on `.bazelrc`, and specify the `provisioning_profile` to handle the signing of the IPA file.\n\n## References \n\n* https://github.com/lyft/envoy-mobile\n* https://github.com/airbnb/BuckSample\n* https://github.com/acecilia/BazelVSBuckSample\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdzsergio%2Fbazelsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdzsergio%2Fbazelsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdzsergio%2Fbazelsample/lists"}