Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

No scheme named 'MyScheme' found (Xcode 15.4)

Aperta
#569 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
devtools, testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Ruby
Stelle
1.6k
Fork
239
Merge medio
1g 9h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SlatherOrg/slather

Tutte le issue di SlatherOrg/slather

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.