xcode - slather error, when trying to get code coverage -


i'm looking use slather export unit test code coverage teamcity, running issues getting run, , i'm little confused i'm not finding other people encountering error. can me. i'm build engineer, not xcode developer, , our devs don't seem know causing it.

anyway, trial slather, given new mac, installed rvm , ruby 2.4.1. installed slather gem, quite easy , fast.

i built xcode project, ran unit tests , saw xcode displaying code coverage data in ide.

in terminal ran slather coverage command, , returns error:

slathering... /users/me/.rvm/gems/ruby-2.4.1/gems/cfpropertylist-2.3.5/lib/cfpropertylist/rbcfpropertylist.rb:349:in `load`: file /library/developer/commandlinetools/../info.plist not readable! (ioerror). 

so question missing?

the mac new, added xcode v8.2.1, rvm, ruby , slather. slather pulled in dependencies needed. xcode project has test coverage turned on, , there nothing in slather site mentioning need modify plist reference paths in project settings.

i went blog site , tried demo project using slather https://cocoacasts.com/how-to-generate-code-coverage-reports-in-xcode-with-slather/ , same error project also.

it seems slather works other people, hoping simple small thing need setup on mac environment.

sorry posting answer own question, found out doing wrong , environment issue.

the solution found answer: stackoverflow xcode select active developer directory error

the issue had opened xcode xip , running downloads folder opposed applications folder. xcode commandline tools expecting in applications. once put xcode in correct location, slather worked fine.

basically rookie osx error windows user.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -