Xcode 27.2 with project file in JSON format not supported

Aperta
#588 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ruby
Ambito
testing

Direzione di ricerca

Start with lib/slather/project.rb and trace how lib/slather/command/coverage_command.rb opens the project. Check how the project file format is identified and what tests cover project opening. Done means the reported command can process a project using Xcode's JSON format without the missing project.pbxproj error.

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

Descrizione

I'm using Xcode 27.2 with JSON project file format. That seems not yet supported by slather, isn't it?

Error Message:

slather coverage --build-directory build --output-directory slather_report --scheme ProjectA ProjectA.xcodeproj
Slathering...
/Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/xcodeproj-1.28.1/lib/xcodeproj/plist.rb:17:in `read_from_path': [!] The plist file at path `/Users/xxx/Development/xxx/ProjectA/ProjectA.xcodeproj/project.pbxproj` doesn't exist. (Xcodeproj::Informative)

	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/xcodeproj-1.28.1/lib/xcodeproj/project.rb:211:in `initialize_from_file'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/xcodeproj-1.28.1/lib/xcodeproj/project.rb:113:in `open'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/slather-2.8.7/lib/slather/project.rb:56:in `open'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/slather-2.8.7/lib/slather/command/coverage_command.rb:115:in `project'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/slather-2.8.7/lib/slather/command/coverage_command.rb:74:in `setup_build_directory'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/slather-2.8.7/lib/slather/command/coverage_command.rb:47:in `execute'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/clamp-1.5.2/lib/clamp/command.rb:66:in `run'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/clamp-1.5.2/lib/clamp/subcommand/execution.rb:18:in `execute'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/clamp-1.5.2/lib/clamp/command.rb:66:in `run'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/clamp-1.5.2/lib/clamp/command.rb:140:in `run'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/gems/3.3.0/gems/slather-2.8.7/bin/slather:17:in `<top (required)>'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems.rb:305:in `load'
	from /Users/xxx/.rbenv/versions/3.3.5/lib/ruby/site_ruby/3.3.0/rubygems.rb:305:in `activate_and_load_bin_path'
	from /Users/xxx/.rbenv/versions/3.3.5/bin/slather:25:in `<main>'
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.