No scheme named 'MyScheme' found (Xcode 15.4)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start at lib/slather/project.rb, around find_binary_files (line 517 in the reported stack trace), and trace how the project and scheme configuration are read. Reproduce with the supplied Slather YAML and Xcode 15.4 setup, then check how shared schemes are discovered. Done means slather coverage recognizes the existing MyScheme and proceeds without this error.
Written by the indexing model from the issue text.
Description
Hi, we are currently trying to generate reports with Slather using macOS 14 and Xcode 15.4. We added ruby and installed slather. This is our yml in our root directory:
coverage_service: gutter_json
xcodeproj: ./MyProject.xcodeproj
scheme: MyScheme
build_directory: ./Build
configuration: TestDebug
workspace: ./MyWorkspace.xcworkspace
verbose: true
output_directory: slather-report
ignore:
- Pods/*
- Carthage/*
We then execute the command slather coverage in our CI. Also, we plan to upload the report to Codecov.
But when trying this, it gives us this error always:
/Users/runner/hostedtoolcache/Ruby/3.0.7/arm64/lib/ruby/gems/3.0.0/gems/slather-2.8.3/lib/slather/project.rb:517:in `find_binary_files': No scheme named 'MyScheme' found in /Users/runner/work/ios-app/ios-app/MyProject.xcodeproj (StandardError)
I'm sure the scheme exists and its being shared, and I'm not sure what else to do. Thanks in advance.
- Dominant language
- Ruby
- Stars
- 1.6k
- Forks
- 239
- Avg merge
- 10h 19m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SlatherOrg/slather
-
2.8.6: NoMethodError "undefined method 'first'" in profdata_coverage_dir whenever --scheme is usedPossibly taken @MirekNalepa claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SlatherOrg/slather#586 · 3 comments · 4 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
SlatherOrg/slather#582 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
SlatherOrg/slather#580 · 9 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 56/100
SlatherOrg/slather#578 · 3 comments · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
SlatherOrg/slather#577 ·
All issues in SlatherOrg/slather
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
scanaislop/aislop#482 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
-
ETQ admin, le select de condition d'une annotation répétable liste les champs publics deux foisOpen
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
demarche-numerique/demarche.numerique.gouv.fr#14301 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
voxpupuli/puppet-powerdns#251 ·