Closed adincebic closed 2 months ago
I think this is a dup of https://github.com/SlatherOrg/slather/issues/541 Once I rebuilt all of my upstream dependencies with XCode 15, they all work in Slather, even with Test Plans.
I already built everything using Xcode 15.3 and it still doesn't work.
Separately from Slather, can you see Code Coverage in XCode? The Code Coverage in XCode is based on the same profdata file Slather is looking for in DerivedData. Until you fix the issues in the XCode part of the build and test that generate that file, Slather can't do anything.
Yes I can see it.
.app
, .xctest
, .framework
, or .dylib
get placed?ls -la
for the folder(s) in the answer to 1?ls -la
for the derivedData/Build/ProfileData/11AFE767-46B6-4B1E-ABCA-2702D08F1E98
folder?What I think is happening is A) Something is not getting built correctly and placed in the dirs Slather knows to search or B) Slather is not searching the correct dirs.
Steps to reproduce
Expected
Slather should do its thing and produce the desired output.
Actual
Slather displays an error
`Error Slathering... /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/slather-2.8.0/lib/slather/project.rb:588:in
find_binary_files': No product binary found in derivedData/Build/ProfileData/11AFE767-46B6-4B1E-ABCA-2702D08F1E98. (StandardError) from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/slather-2.8.0/lib/slather/project.rb:462:inconfigure_binary_file' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/slather-2.8.0/lib/slather/project.rb:342:in
configure' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/slather-2.8.0/lib/slather/command/coverage_command.rb:62:inexecute' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in
run' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/clamp-1.3.2/lib/clamp/subcommand/execution.rb:18:inexecute' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/clamp-1.3.2/lib/clamp/command.rb:66:in
run' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/clamp-1.3.2/lib/clamp/command.rb:140:inrun' from /Users/user/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/slather-2.8.0/bin/slather:17:in
<top (required)>' from /Users/user/.rbenv/versions/3.3.0/bin/slather:25:inload' from /Users/user/.rbenv/versions/3.3.0/bin/slather:25:in