{"id":20414546,"url":"https://github.com/codecov/example-objc","last_synced_at":"2025-04-12T16:50:41.773Z","repository":{"id":32123508,"uuid":"35696045","full_name":"codecov/example-objc","owner":"codecov","description":"Codecov example for Xcode","archived":false,"fork":false,"pushed_at":"2024-01-22T20:34:47.000Z","size":61,"stargazers_count":26,"open_issues_count":3,"forks_count":15,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-11T15:10:25.148Z","etag":null,"topics":["codecov","coverage","xcode"],"latest_commit_sha":null,"homepage":"https://codecov.io","language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2015-05-15T20:49:04.000Z","updated_at":"2024-08-02T15:39:24.000Z","dependencies_parsed_at":"2024-11-15T12:16:42.155Z","dependency_job_id":null,"html_url":"https://github.com/codecov/example-objc","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/codecov%2Fexample-objc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-objc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-objc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecov%2Fexample-objc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecov","download_url":"https://codeload.github.com/codecov/example-objc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248601218,"owners_count":21131607,"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":["codecov","coverage","xcode"],"created_at":"2024-11-15T06:11:00.370Z","updated_at":"2025-04-12T16:50:41.736Z","avatar_url":"https://github.com/codecov.png","language":"Objective-C","readme":"# [Codecov](https://codecov.io) Objective-C Example\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-objc.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-objc?ref=badge_shield)\n\n\u003e For a Swift-specific example, see https://github.com/codecov/example-swift\n\n## Guide\n\n### Travis Setup\n\nAdd to your `.travis.yml` file.\n```yml\nlanguage: objective-c\nscript:\n  - xctool -project {{path_to_xcodeproj}} -scheme {{your_testing_scheme}} build test -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES\nafter_success:\n  - bash \u003c(curl -s https://codecov.io/bash)\n```\n\n### Produce Coverage Reports\nThe two important parts are:\n\n- `GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES` (To have Xcode create code coverage files)\n* Create a shared scheme for your test target https://i.imgur.com/JKNFq0G.png\n* xctool also does not respect the `/Scheme/TestAction/@codeCoverageEnabled` setting in `.xcscheme` files. Make sure `-enableCodeCoverage YES` is set.\n\n## Caveats\n### Private Repo\nRepository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t \u003cyour upload token\u003e` to you where you upload reports.\n\n### Build specific projects\n```\n# match ExampleName and ExampleNameTests\nbash \u003c(curl -s https://codecov.io/bash) -J 'ExampleName'\n\n# user regexp to match only ExampleName and not ExampleNameTests\nbash \u003c(curl -s https://codecov.io/bash) -J '^ExampleName$'\n```\n\n## Links\n- [Community Boards](https://community.codecov.io)\n- [Support](https://codecov.io/support)\n- [Documentation](https://docs.codecov.io)\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-objc.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-objc?ref=badge_large)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fexample-objc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecov%2Fexample-objc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecov%2Fexample-objc/lists"}